pinctrl: artpec6: Remove .owner field for driver
Subsystems (3)
PATCH 1/1 pinctrl: artpec6: Remove .owner field for driver
From: Wei Yongjun <[email protected]>
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by Wei Yongjun <[email protected]>
--- drivers/pinctrl/pinctrl-artpec6.c | 1 - 1 file changed, 1 deletion(-)
drivers/pinctrl/pinctrl-artpec6.c +0 -1
@@ -967,7 +967,6 @@ static const struct of_device_id artpec6_pinctrl_match[] = {static struct platform_driver artpec6_pmx_driver = { .driver = { .name ="artpec6-pinctrl" , - .owner =THIS_MODULE , .of_match_table = artpec6_pinctrl_match, }, .probe = artpec6_pmx_probe,
Quoted 7 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Remove .owner field if calls are used which set it automatically.
Generated by:
scripts/coccinelle/api/platform_no_drv_owner.cocciSigned-off-by Wei Yongjun <[email protected]>
Patch applied.
Yours,
Linus Walleij