drm/bridge: ps8622: Fix coccinelle warnings
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 21 Aug 2015 11:05:39 +0000 (19:05 +0800)
committerThierry Reding <treding@nvidia.com>
Fri, 30 Oct 2015 17:38:32 +0000 (18:38 +0100)
The platform_no_drv_owner.cocci coccinelle script generates the
following warning:

drivers/gpu/drm/bridge/parade-ps8622.c:671:3-8: No need to set .owner here. The core will do it.

Remove .owner field if calls are used which set it automatically. Patch
generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/bridge/parade-ps8622.c

index 1a6607beb29f238b0035ddc6665a13b3efb30982..be881e9fef8f0bd5f5f65f285d03cf4c064241a1 100644 (file)
@@ -668,7 +668,6 @@ static struct i2c_driver ps8622_driver = {
        .remove         = ps8622_remove,
        .driver         = {
                .name   = "ps8622",
-               .owner  = THIS_MODULE,
                .of_match_table = ps8622_devices,
        },
 };