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