Commit 00133ffb authored by Fabio Estevam's avatar Fabio Estevam Committed by Linus Walleij

pinctrl: imx6ul: Remove .owner field

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2fe2918f
...@@ -299,7 +299,6 @@ static int imx6ul_pinctrl_probe(struct platform_device *pdev) ...@@ -299,7 +299,6 @@ static int imx6ul_pinctrl_probe(struct platform_device *pdev)
static struct platform_driver imx6ul_pinctrl_driver = { static struct platform_driver imx6ul_pinctrl_driver = {
.driver = { .driver = {
.name = "imx6ul-pinctrl", .name = "imx6ul-pinctrl",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(imx6ul_pinctrl_of_match), .of_match_table = of_match_ptr(imx6ul_pinctrl_of_match),
}, },
.probe = imx6ul_pinctrl_probe, .probe = imx6ul_pinctrl_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment