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:
@@ -378,7 +378,6 @@ static int s3c_hwmon_remove(struct platform_device *dev)
|
||||
static struct platform_driver s3c_hwmon_driver = {
|
||||
.driver = {
|
||||
.name = "s3c-hwmon",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = s3c_hwmon_probe,
|
||||
.remove = s3c_hwmon_remove,
|
||||
|
Reference in New Issue
Block a user