summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-05-31 11:05:10 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-05-31 13:38:30 +0300
commit7d36b2451ac524c672f35000f869000dbdb3ca21 (patch)
tree21d425079f1ae97139934a2d35d98860ed6b431d /drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
parent4725774f59e4c01e5d38fa94cdb275ebc677349c (diff)
downloadlinux-7d36b2451ac524c672f35000f869000dbdb3ca21.tar.xz
pinctrl: uniphier: set pinctrl_desc owner in common probe function
The owner of the struct pinctrl_desc matches that of platform_driver. Set it in the common probe function. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c')
-rw-r--r--drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
index 89d3fdbbded4..762de0e472a8 100644
--- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
@@ -1244,7 +1244,6 @@ static struct pinctrl_desc uniphier_pxs2_pinctrl_desc = {
.name = DRIVER_NAME,
.pins = uniphier_pxs2_pins,
.npins = ARRAY_SIZE(uniphier_pxs2_pins),
- .owner = THIS_MODULE,
};
static int uniphier_pxs2_pinctrl_probe(struct platform_device *pdev)