Skip to content

Commit 61b7805

Browse files
YueHaibinglinusw
authored andcommitted
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 70d97e0 commit 61b7805

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpio/gpio-xgs-iproc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ MODULE_DEVICE_TABLE(of, bcm_iproc_gpio_of_match);
308308
static struct platform_driver bcm_iproc_gpio_driver = {
309309
.driver = {
310310
.name = "iproc-xgs-gpio",
311-
.owner = THIS_MODULE,
312311
.of_match_table = bcm_iproc_gpio_of_match,
313312
},
314313
.probe = iproc_gpio_probe,

0 commit comments

Comments
 (0)