summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-03-16 19:47:01 -0300
committerLinus Walleij <linus.walleij@linaro.org>2018-03-27 14:05:11 +0200
commit27a3ba538b831ef61e3fda3951ff30158d4ce934 (patch)
treee594ed88deb3f253a68f4d6882510bc1f3c19a2c /drivers/pinctrl
parenta5af5c9f877ae682a07a87c42191dcab11599c51 (diff)
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/qcom/pinctrl-msm8998.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-msm8998.c b/drivers/pinctrl/qcom/pinctrl-msm8998.c
index c33953183013..00d7b94bc3f1 100644
--- a/drivers/pinctrl/qcom/pinctrl-msm8998.c
+++ b/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,