Commit 045c6fdd authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Alexandre Belloni

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: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent b2884543
...@@ -236,7 +236,6 @@ static struct platform_driver opal_rtc_driver = { ...@@ -236,7 +236,6 @@ static struct platform_driver opal_rtc_driver = {
.id_table = opal_rtc_driver_ids, .id_table = opal_rtc_driver_ids,
.driver = { .driver = {
.name = DRVNAME, .name = DRVNAME,
.owner = THIS_MODULE,
.of_match_table = opal_rtc_match, .of_match_table = opal_rtc_match,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment