summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-05-31 10:05:10 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-05-31 12:38:30 +0200
commit7d36b2451ac524c672f35000f869000dbdb3ca21 (patch)
tree21d425079f1ae97139934a2d35d98860ed6b431d /drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
parentpinctrl: uniphier: fix register offsets for drive strength control (diff)
downloadlinux-7d36b2451ac524c672f35000f869000dbdb3ca21.tar.xz
linux-7d36b2451ac524c672f35000f869000dbdb3ca21.zip
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-pro5.c')
-rw-r--r--drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
index 8452dad6c769..19b15db80e68 100644
--- a/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
@@ -1326,7 +1326,6 @@ static struct pinctrl_desc uniphier_pro5_pinctrl_desc = {
.name = DRIVER_NAME,
.pins = uniphier_pro5_pins,
.npins = ARRAY_SIZE(uniphier_pro5_pins),
- .owner = THIS_MODULE,
};
static int uniphier_pro5_pinctrl_probe(struct platform_device *pdev)