diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-03-16 19:47:01 -0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-27 14:05:11 +0200 |
commit | 27a3ba538b831ef61e3fda3951ff30158d4ce934 (patch) | |
tree | e594ed88deb3f253a68f4d6882510bc1f3c19a2c /drivers | |
parent | a5af5c9f877ae682a07a87c42191dcab11599c51 (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')
-rw-r--r-- | drivers/pinctrl/qcom/pinctrl-msm8998.c | 1 |
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, |