提交 15d8bb48 编写于 作者: M Markus Elfring 提交者: Sean Paul

drm/rockchip: Delete unnecessary assignment for the field "owner"

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NSean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/41e48fd3-f713-7225-1df2-3b1f4758f949@users.sourceforge.net
上级 79d0d27d
...@@ -445,7 +445,6 @@ static struct platform_driver rockchip_dp_driver = { ...@@ -445,7 +445,6 @@ static struct platform_driver rockchip_dp_driver = {
.remove = rockchip_dp_remove, .remove = rockchip_dp_remove,
.driver = { .driver = {
.name = "rockchip-dp", .name = "rockchip-dp",
.owner = THIS_MODULE,
.pm = &rockchip_dp_pm_ops, .pm = &rockchip_dp_pm_ops,
.of_match_table = of_match_ptr(rockchip_dp_dt_ids), .of_match_table = of_match_ptr(rockchip_dp_dt_ids),
}, },
......
...@@ -305,7 +305,6 @@ static struct platform_driver vop_platform_driver = { ...@@ -305,7 +305,6 @@ static struct platform_driver vop_platform_driver = {
.remove = vop_remove, .remove = vop_remove,
.driver = { .driver = {
.name = "rockchip-vop", .name = "rockchip-vop",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(vop_driver_dt_match), .of_match_table = of_match_ptr(vop_driver_dt_match),
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册