ARM: imx: gpc: Remove .owner field
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/1 ARM: imx: gpc: Remove .owner field
From: Fabio Estevam <[email protected]>
This platform_driver does not need to set an owner as it will be populated by the driver core.
The semantic patch that makes this change is available in scripts/coccinelle/api/platform_no_drv_owner.cocci.
More information about semantic patching is available at
http://coccinelle.lip6.fr/
--- arch/arm/mach-imx/gpc.c | 1 - 1 file changed, 1 deletion(-)
arch/arm/mach-imx/gpc.c +0 -1
@@ -464,7 +464,6 @@ static const struct of_device_id imx_gpc_dt_ids[] = {static struct platform_driver imx_gpc_driver = { .driver = { .name ="imx-gpc" , - .owner =THIS_MODULE , .of_match_table = imx_gpc_dt_ids, }, .probe = imx_gpc_probe,
Signature · 1 line
1.9.1
Shawn Guo
AppliedPATCH 1/1 ARM: imx: gpc: Remove .owner field
Quoted 5 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
This
platform_driverdoes not need to set an owner as it will be populated by the driver core.
Quoted 7 lines
The semantic patch that makes this change is available in
scripts/coccinelle/api/platform_no_drv_owner.cocci.More information about semantic patching is available at
http://coccinelle.lip6.fr/Signed-off-by Fabio Estevam <[email protected]>
Applied, thanks.