From 61b7805a9b25bc1a31386c904fb5b03512c801c7 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Fri, 8 Nov 2019 01:35:43 +0000 Subject: gpio: xgs-iproc: Fix platform_no_drv_owner.cocci warnings Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing Signed-off-by: Linus Walleij --- drivers/gpio/gpio-xgs-iproc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpio/gpio-xgs-iproc.c') diff --git a/drivers/gpio/gpio-xgs-iproc.c b/drivers/gpio/gpio-xgs-iproc.c index bb183f584d92..773e5c24309e 100644 --- a/drivers/gpio/gpio-xgs-iproc.c +++ b/drivers/gpio/gpio-xgs-iproc.c @@ -308,7 +308,6 @@ MODULE_DEVICE_TABLE(of, bcm_iproc_gpio_of_match); static struct platform_driver bcm_iproc_gpio_driver = { .driver = { .name = "iproc-xgs-gpio", - .owner = THIS_MODULE, .of_match_table = bcm_iproc_gpio_of_match, }, .probe = iproc_gpio_probe, -- cgit v1.2.3