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:
@@ -837,7 +837,6 @@ static const struct platform_device_id s5m_rtc_id[] = {
|
||||
static struct platform_driver s5m_rtc_driver = {
|
||||
.driver = {
|
||||
.name = "s5m-rtc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &s5m_rtc_pm_ops,
|
||||
},
|
||||
.probe = s5m_rtc_probe,
|
||||
|
Reference in New Issue
Block a user