projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5af5c9
)
pinctrl: msm8998: Remove owner assignment from platform_driver
author
Fabio Estevam
<fabio.estevam@nxp.com>
Fri, 16 Mar 2018 22:47:01 +0000
(19:47 -0300)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 27 Mar 2018 12:05:11 +0000
(14:05 +0200)
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>
drivers/pinctrl/qcom/pinctrl-msm8998.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/qcom/pinctrl-msm8998.c
b/drivers/pinctrl/qcom/pinctrl-msm8998.c
index c3395318301332b21a6dad93b16e556791d30a03..00d7b94bc3f18aaca93805bafa18f36096ee0e92 100644
(file)
--- 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,