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:
@@ -369,7 +369,6 @@ static int f71882fg_remove(struct platform_device *pdev);
|
||||
|
||||
static struct platform_driver f71882fg_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = DRVNAME,
|
||||
},
|
||||
.probe = f71882fg_probe,
|
||||
|
Reference in New Issue
Block a user