summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sirf
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-06-01 09:53:59 -0300
committerLinus Walleij <linus.walleij@linaro.org>2015-06-04 10:12:42 +0200
commit3944e7b78c7b1bfed7808692cc539496b3f94eea (patch)
tree6ea45ab6e0b2d50695851f8587f4e034a020ba39 /drivers/pinctrl/sirf
parent7e9236ff3d92ec326f29a20d86add10f1ff4e9b3 (diff)
pinctrl: Remove .owner field
platform_driver does not need to set the owner field, as it will be populated by the driver core, so just remove it. The semantic patch that makes this change is available in scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sirf')
-rw-r--r--drivers/pinctrl/sirf/pinctrl-atlas7.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/sirf/pinctrl-atlas7.c b/drivers/pinctrl/sirf/pinctrl-atlas7.c
index 046251aaf156..c2ced3f68768 100644
--- a/drivers/pinctrl/sirf/pinctrl-atlas7.c
+++ b/drivers/pinctrl/sirf/pinctrl-atlas7.c
@@ -4066,7 +4066,6 @@ static int atlas7_pinmux_probe(struct platform_device *pdev)
pmx->pctl_desc.pctlops = &atlas7_pinctrl_ops;
pmx->pctl_desc.pmxops = &atlas7_pinmux_ops;
pmx->pctl_desc.confops = &atlas7_pinconf_ops;
- pmx->pctl_desc.owner = THIS_MODULE;
for (idx = 0; idx < banks; idx++) {
pmx->regs[idx] = of_iomap(np, idx);
@@ -4109,7 +4108,6 @@ static const struct of_device_id atlas7_pinmux_ids[] = {
static struct platform_driver atlas7_pinmux_driver = {
.driver = {
.name = "atlas7-ioc",
- .owner = THIS_MODULE,
.of_match_table = atlas7_pinmux_ids,
},
.probe = atlas7_pinmux_probe,