diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-06-01 09:53:59 -0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-04 10:12:42 +0200 |
commit | 3944e7b78c7b1bfed7808692cc539496b3f94eea (patch) | |
tree | 6ea45ab6e0b2d50695851f8587f4e034a020ba39 /drivers/pinctrl/sunxi | |
parent | 7e9236ff3d92ec326f29a20d86add10f1ff4e9b3 (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/sunxi')
-rw-r--r-- | drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c index d3725dcd6979..e570d5c93ecc 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31s.c @@ -804,7 +804,6 @@ static struct platform_driver sun6i_a31s_pinctrl_driver = { .probe = sun6i_a31s_pinctrl_probe, .driver = { .name = "sun6i-a31s-pinctrl", - .owner = THIS_MODULE, .of_match_table = sun6i_a31s_pinctrl_match, }, }; |