rtc: 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:
@@ -523,7 +523,6 @@ static const struct platform_device_id rtc_id[] = {
|
||||
static struct platform_driver max8997_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "max8997-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = max8997_rtc_probe,
|
||||
.shutdown = max8997_rtc_shutdown,
|
||||
|
Reference in New Issue
Block a user