提交 b24347c7 编写于 作者: W Wolfram Sang

gpu: drm: panel: 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: NWolfram Sang <wsa@the-dreams.de>
上级 a58a3b9b
...@@ -708,7 +708,6 @@ static void panel_simple_platform_shutdown(struct platform_device *pdev) ...@@ -708,7 +708,6 @@ static void panel_simple_platform_shutdown(struct platform_device *pdev)
static struct platform_driver panel_simple_platform_driver = { static struct platform_driver panel_simple_platform_driver = {
.driver = { .driver = {
.name = "panel-simple", .name = "panel-simple",
.owner = THIS_MODULE,
.of_match_table = platform_of_match, .of_match_table = platform_of_match,
}, },
.probe = panel_simple_platform_probe, .probe = panel_simple_platform_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册