@@ -473,10 +473,6 @@ void fpga_bridge_unregister(struct fpga_bridge *bridge)
}
EXPORT_SYMBOL_GPL(fpga_bridge_unregister);
-static void fpga_bridge_dev_release(struct device *dev)
-{
-}
-
static int __init fpga_bridge_dev_init(void)
{
fpga_bridge_class = class_create(THIS_MODULE, "fpga_bridge");
@@ -484,7 +480,6 @@ static int __init fpga_bridge_dev_init(void)
return PTR_ERR(fpga_bridge_class);
fpga_bridge_class->dev_groups = fpga_bridge_groups;
- fpga_bridge_class->dev_release = fpga_bridge_dev_release;
return 0;
}
@@ -779,10 +779,6 @@ int devm_fpga_mgr_register(struct device *dev, struct fpga_manager *mgr)
}
EXPORT_SYMBOL_GPL(devm_fpga_mgr_register);
-static void fpga_mgr_dev_release(struct device *dev)
-{
-}
-
static int __init fpga_mgr_class_init(void)
{
pr_info("FPGA manager framework\n");
@@ -792,7 +788,6 @@ static int __init fpga_mgr_class_init(void)
return PTR_ERR(fpga_mgr_class);
fpga_mgr_class->dev_groups = fpga_mgr_groups;
- fpga_mgr_class->dev_release = fpga_mgr_dev_release;
return 0;
}
@@ -314,10 +314,6 @@ void fpga_region_unregister(struct fpga_region *region)
}
EXPORT_SYMBOL_GPL(fpga_region_unregister);
-static void fpga_region_dev_release(struct device *dev)
-{
-}
-
/**
* fpga_region_init - init function for fpga_region class
* Creates the fpga_region class and registers a reconfig notifier.
@@ -329,7 +325,6 @@ static int __init fpga_region_init(void)
return PTR_ERR(fpga_region_class);
fpga_region_class->dev_groups = fpga_region_groups;
- fpga_region_class->dev_release = fpga_region_dev_release;
return 0;
}