]> git.baikalelectronics.ru Git - kernel.git/commit
staging: kpc2000: kpc_i2c: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <lkp@intel.com>
Wed, 22 May 2019 19:58:15 +0000 (03:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 May 2019 07:23:15 +0000 (09:23 +0200)
commit55d1705c855f06da654e3d020b9927d15f045cad
tree9c92c89aec4b5df5b7f779240b90588dea66a2b7
parentd015cea7406b42486a8e50a902d38cbda8d77e6a
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: 2d1e8debbc1f ("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>
drivers/staging/kpc2000/kpc2000_i2c.c