diff options
author | kbuild test robot <lkp@intel.com> | 2019-05-23 03:58:15 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-23 09:23:15 +0200 |
commit | 99bf7761b7cd9c529486a52df37deecf3bf0ebe5 (patch) | |
tree | 9c92c89aec4b5df5b7f779240b90588dea66a2b7 | |
parent | 2a8af420e7a58485bc5052c16c3d51913163e0fc (diff) |
staging: kpc2000: kpc_i2c: fix platform_no_drv_owner.cocci warnings
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 <gneukum1@gmail.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/kpc2000/kpc2000_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c index 97e738349ba2..fb9a8386bcce 100644 --- a/drivers/staging/kpc2000/kpc2000_i2c.c +++ b/drivers/staging/kpc2000/kpc2000_i2c.c @@ -649,7 +649,6 @@ static struct platform_driver i2c_plat_driver_i = { .remove = pi2c_remove, .driver = { .name = KP_DRIVER_NAME_I2C, - .owner = THIS_MODULE, }, }; |