Messages in this thread Patch in this message | | | Date | Fri, 13 Jan 2017 18:15:10 +0800 | From | kbuild test robot <> | Subject | [PATCH] platform/x86: fix platform_no_drv_owner.cocci warnings |
| |
drivers/platform/x86/scu.c:1541: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: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> ---
scu.c | 1 - 1 file changed, 1 deletion(-)
--- a/drivers/platform/x86/scu.c +++ b/drivers/platform/x86/scu.c @@ -1538,7 +1538,6 @@ static struct platform_driver scu_driver .remove = __exit_p(scu_remove), .driver = { .name = "scu", - .owner = THIS_MODULE, }, };
| |