powerpc: cpm_gpio: Remove owner assignment from platform_driver
PATCH 1/1 powerpc: cpm_gpio: Remove owner assignment from platform_driver
From: Fabio Estevam <[email protected]>
Structure platform_driver does not need to set the owner field, as this will be populated by the driver core.
Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by Fabio Estevam <[email protected]>
--- arch/powerpc/sysdev/cpm_gpio.c | 1 - 1 file changed, 1 deletion(-)
arch/powerpc/sysdev/cpm_gpio.c +0 -1
@@ -63,7 +63,6 @@ static struct platform_driver cpm_gpio_driver = { .probe = cpm_gpio_probe, .driver = { .name = "cpm-gpio", - .owner = THIS_MODULE, .of_match_table = cpm_gpio_match, }, };
Signature · 1 line
2.7.4
Michael Ellerman
AppliedQuoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Structure
platform_driverdoes not need to set the owner field, as this will be populated by the driver core.Generated by
scripts/coccinelle/api/platform_no_drv_owner.cocci.Signed-off-by Fabio Estevam <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c5cbde2df3951c59dc099dd2e452b5
cheers