Message ID | 20160109005004.GA58406@roam |
---|---|
State | Superseded |
Headers | show |
--- 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,
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 <richard.dorsch@gmail.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- imanager-gpio.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html