summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xgs-iproc.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-11-08 02:35:43 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-11-08 14:25:12 +0100
commit61b7805a9b25bc1a31386c904fb5b03512c801c7 (patch)
tree99d14cffa838f5643a49891818cf66c7c8a986da /drivers/gpio/gpio-xgs-iproc.c
parentRevert "gpio: expose pull-up/pull-down line flags to userspace" (diff)
downloadlinux-61b7805a9b25bc1a31386c904fb5b03512c801c7.tar.xz
linux-61b7805a9b25bc1a31386c904fb5b03512c801c7.zip
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 <yuehaibing@huawei.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-xgs-iproc.c')
-rw-r--r--drivers/gpio/gpio-xgs-iproc.c1
1 files changed, 0 insertions, 1 deletions
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,