diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-05-31 11:05:10 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-05-31 13:38:30 +0300 |
commit | 7d36b2451ac524c672f35000f869000dbdb3ca21 (patch) | |
tree | 21d425079f1ae97139934a2d35d98860ed6b431d /drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | |
parent | 4725774f59e4c01e5d38fa94cdb275ebc677349c (diff) | |
download | linux-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.c | 1 |
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) |