Browse Source

pinctrl: msm8998: Remove owner assignment from platform_driver

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 <fabio.estevam@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Fabio Estevam 7 years ago
parent
commit
27a3ba538b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/pinctrl/qcom/pinctrl-msm8998.c

+ 0 - 1
drivers/pinctrl/qcom/pinctrl-msm8998.c

@@ -1566,7 +1566,6 @@ static const struct of_device_id msm8998_pinctrl_of_match[] = {
 static struct platform_driver msm8998_pinctrl_driver = {
 	.driver = {
 		.name = "msm8998-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = msm8998_pinctrl_of_match,
 	},
 	.probe = msm8998_pinctrl_probe,