diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-11-08 01:35:43 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-11-08 14:25:12 +0100 |
commit | 61b7805a9b25bc1a31386c904fb5b03512c801c7 (patch) | |
tree | 99d14cffa838f5643a49891818cf66c7c8a986da /drivers/gpio/gpio-xgs-iproc.c | |
parent | 70d97e099bb426ecb3ad4bf31e88dbf2ef4b2e4c (diff) |
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.c | 1 |
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, |