summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.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-pro4.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-pro4.c')
-rw-r--r--drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c
index 2d4530789dd9..54b08d51c501 100644
--- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c
+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c
@@ -1535,7 +1535,6 @@ static struct pinctrl_desc uniphier_pro4_pinctrl_desc = {
.name = DRIVER_NAME,
.pins = uniphier_pro4_pins,
.npins = ARRAY_SIZE(uniphier_pro4_pins),
- .owner = THIS_MODULE,
};
static int uniphier_pro4_pinctrl_probe(struct platform_device *pdev)