rtc: Drop owner assignment from platform_driver
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
parent
b28845433e
commit
045c6fdd37
@ -236,7 +236,6 @@ static struct platform_driver opal_rtc_driver = {
|
||||
.id_table = opal_rtc_driver_ids,
|
||||
.driver = {
|
||||
.name = DRVNAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = opal_rtc_match,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user