提交 045c6fdd 编写于 作者: K Krzysztof Kozlowski 提交者: 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: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 b2884543
......@@ -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,
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册