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>
This commit is contained in:
YueHaibing 2019-11-08 01:35:43 +00:00 committed by Linus Walleij
parent 70d97e099b
commit 61b7805a9b

View File

@ -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,