drm/rockchip: Delete unnecessary assignment for the field "owner"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 16 Aug 2016 12:25:35 +0000 (14:25 +0200)
committerSean Paul <seanpaul@chromium.org>
Tue, 23 Aug 2016 15:34:26 +0000 (11:34 -0400)
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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/41e48fd3-f713-7225-1df2-3b1f4758f949@users.sourceforge.net
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
drivers/gpu/drm/rockchip/rockchip_vop_reg.c

index 89aadbf465f8563cdefb8174ff5cfca608876d09..0e63ee25bef830c2f1ba1a8deec4d0ba3b020b10 100644 (file)
@@ -445,7 +445,6 @@ static struct platform_driver rockchip_dp_driver = {
        .remove = rockchip_dp_remove,
        .driver = {
                   .name = "rockchip-dp",
-                  .owner = THIS_MODULE,
                   .pm = &rockchip_dp_pm_ops,
                   .of_match_table = of_match_ptr(rockchip_dp_dt_ids),
        },
index 919992cdc97e32f190b285f874c8c3944dd93ea3..b7f59c443730de50b484875b32e6fe57d082bbc1 100644 (file)
@@ -305,7 +305,6 @@ static struct platform_driver vop_platform_driver = {
        .remove = vop_remove,
        .driver = {
                .name = "rockchip-vop",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(vop_driver_dt_match),
        },
 };