diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-05-31 17:05:10 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-05-31 12:38:30 +0200 |
commit | 7d36b2451ac524c672f35000f869000dbdb3ca21 (patch) | |
tree | 21d425079f1ae97139934a2d35d98860ed6b431d /drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | |
parent | 4725774f59e4c01e5d38fa94cdb275ebc677349c (diff) | |
download | linux-7d36b2451ac524c672f35000f869000dbdb3ca21.tar.bz2 |
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-core.c')
-rw-r--r-- | drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c index 5d08de0b13f5..ab89efb6ee06 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c @@ -670,6 +670,7 @@ int uniphier_pinctrl_probe(struct platform_device *pdev, desc->pctlops = &uniphier_pctlops; desc->pmxops = &uniphier_pmxops; desc->confops = &uniphier_confops; + desc->owner = dev->driver->owner; priv->pctldev = devm_pinctrl_register(dev, desc, priv); if (IS_ERR(priv->pctldev)) { |