]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/bridge: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Wed, 26 Oct 2016 16:58:36 +0000 (00:58 +0800)
committerArchit Taneja <architt@codeaurora.org>
Thu, 27 Oct 2016 06:05:23 +0000 (11:35 +0530)
drivers/gpu/drm/bridge/sil-sii8620.c:1556:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20161026165836.GA98766@lkp-sb04.lkp.intel.com
drivers/gpu/drm/bridge/sil-sii8620.c

index 4f0526e9edbe806f61f6e6c11364620d14a42e6f..b2c267df7ee718b6e3ba776fc3751e6f5586d905 100644 (file)
@@ -1553,7 +1553,6 @@ MODULE_DEVICE_TABLE(i2c, sii8620_id);
 static struct i2c_driver sii8620_driver = {
        .driver = {
                .name   = "sii8620",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(sii8620_dt_match),
        },
        .probe          = sii8620_probe,