提交 467817ed 编写于 作者: W Wolfram Sang

zorro: 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>
上级 fa21a580
...@@ -222,7 +222,6 @@ static int __init amiga_zorro_probe(struct platform_device *pdev) ...@@ -222,7 +222,6 @@ static int __init amiga_zorro_probe(struct platform_device *pdev)
static struct platform_driver amiga_zorro_driver = { static struct platform_driver amiga_zorro_driver = {
.driver = { .driver = {
.name = "amiga-zorro", .name = "amiga-zorro",
.owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册