From: kbuild test robot <l...@intel.com>

drivers/staging/kpc2000/kpc2000_i2c.c:652: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

Fixes: 43ad38191816 ("staging: kpc2000: kpc_i2c: add static qual to local 
symbols in kpc_i2c.c")
CC: Geordan Neukum <gneuk...@gmail.com>
Signed-off-by: kbuild test robot <l...@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
staging-next
head:   43ad38191816a6b77cc4bd8222353320a71a1d2d
commit: 43ad38191816a6b77cc4bd8222353320a71a1d2d [106/106] staging: kpc2000: 
kpc_i2c: add static qual to local symbols in kpc_i2c.c

 kpc2000_i2c.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/staging/kpc2000/kpc2000_i2c.c
+++ b/drivers/staging/kpc2000/kpc2000_i2c.c
@@ -649,7 +649,6 @@ static struct platform_driver i2c_plat_d
        .remove     = pi2c_remove,
        .driver     = {
                .name   = KP_DRIVER_NAME_I2C,
-               .owner  = THIS_MODULE,
        },
 };
 
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to