pinctrl: imx6ul: Remove .owner field
Subsystems (4)
Fabio Estevam
maintainerPATCH 1/1 pinctrl: imx6ul: Remove .owner field
From: Fabio Estevam <[email protected]>
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.
Signed-off-by Fabio Estevam <[email protected]>
--- drivers/pinctrl/freescale/pinctrl-imx6ul.c | 1 - 1 file changed, 1 deletion(-)
drivers/pinctrl/freescale/pinctrl-imx6ul.c +0 -1
@@ -299,7 +299,6 @@ static int imx6ul_pinctrl_probe(struct platform_device *pdev)static struct platform_driver imx6ul_pinctrl_driver = { .driver = { .name ="imx6ul-pinctrl" , - .owner =THIS_MODULE , .of_match_table =of_match_ptr (imx6ul_pinctrl_of_match), }, .probe = imx6ul_pinctrl_probe,
Signature · 1 line
1.9.1
Quoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
platform_driverdoes 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.Signed-off-by Fabio Estevam <[email protected]>
Patch applied.
Yours,
Linus Walleij