regulator: 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:
@@ -1245,7 +1245,6 @@ static void tps65910_shutdown(struct platform_device *pdev)
|
||||
static struct platform_driver tps65910_driver = {
|
||||
.driver = {
|
||||
.name = "tps65910-pmic",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = tps65910_probe,
|
||||
.shutdown = tps65910_shutdown,
|
||||
|
Reference in New Issue
Block a user