hwmon: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
@@ -334,7 +334,6 @@ MODULE_DEVICE_TABLE(platform, max197_device_ids);
|
||||
static struct platform_driver max197_driver = {
|
||||
.driver = {
|
||||
.name = "max197",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max197_probe,
|
||||
.remove = max197_remove,
|
||||
|
Reference in New Issue
Block a user