提交 770ca15c 编写于 作者: W Wolfram Sang

iio: adc: 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>
上级 35316c9f
...@@ -307,7 +307,6 @@ static struct platform_driver rockchip_saradc_driver = { ...@@ -307,7 +307,6 @@ static struct platform_driver rockchip_saradc_driver = {
.remove = rockchip_saradc_remove, .remove = rockchip_saradc_remove,
.driver = { .driver = {
.name = "rockchip-saradc", .name = "rockchip-saradc",
.owner = THIS_MODULE,
.of_match_table = rockchip_saradc_match, .of_match_table = rockchip_saradc_match,
.pm = &rockchip_saradc_pm_ops, .pm = &rockchip_saradc_pm_ops,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册