[PATCH] fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <hidden>
Date: 2016-01-09 00:50:50
Also in:
linux-i2c, linux-watchdog, lkml
From: kbuild test robot <hidden>
Date: 2016-01-09 00:50:50
Also in:
linux-i2c, linux-watchdog, lkml
drivers/gpio/imanager-gpio.c:170: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: Richard Vidal-Dorsch <redacted> Signed-off-by: Fengguang Wu <redacted> --- imanager-gpio.c | 1 - 1 file changed, 1 deletion(-)
--- a/drivers/gpio/imanager-gpio.c
+++ b/drivers/gpio/imanager-gpio.c@@ -167,7 +167,6 @@ static int imanager_remove(struct platfo static struct platform_driver imanager_gpio_driver = { .driver = { - .owner = THIS_MODULE, .name = "imanager_gpio", }, .probe = imanager_gpio_probe,