Messages in this thread Patch in this message | | | Date | Mon, 4 Apr 2022 21:11:30 +0800 | From | kernel test robot <> | Subject | [PATCH] drivers: ddcci: fix platform_no_drv_owner.cocci warnings |
| |
From: kernel test robot <lkp@intel.com>
drivers/char/ddcci.c:1721: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: Yusuf Khan <yusisamerican@gmail.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> ---
url: https://github.com/intel-lab-lkp/linux/commits/Yusuf-Khan/drivers-ddcci-add-drivers-for-DDCCI/20220404-080905 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 37fd83916da2e4cae03d350015c82a67b1b334c4 :::::: branch date: 13 hours ago :::::: commit date: 13 hours ago
drivers/char/ddcci.c | 1 - 1 file changed, 1 deletion(-)
--- a/drivers/char/ddcci.c +++ b/drivers/char/ddcci.c @@ -1718,7 +1718,6 @@ MODULE_DEVICE_TABLE(i2c, ddcci_idtable); static struct i2c_driver ddcci_driver = { .driver = { .name = "ddcci", - .owner = THIS_MODULE, }, .id_table = ddcci_idtable,
| |