aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-07-05 02:10:14 -0700
committerLinus Walleij <linus.walleij@linaro.org>2018-07-17 10:48:25 +0200
commita203728ac6bbbed2fdcf0a2e807c5473efcfdb30 (patch)
treed3d1b95f7171f878e347f099950d6ad0ae000c51 /lib
parentd0ec2e9c10341001d648afdff0f42a22dafb044d (diff)
downloadkernel_replicant_linux-a203728ac6bbbed2fdcf0a2e807c5473efcfdb30.tar.gz
kernel_replicant_linux-a203728ac6bbbed2fdcf0a2e807c5473efcfdb30.tar.bz2
kernel_replicant_linux-a203728ac6bbbed2fdcf0a2e807c5473efcfdb30.zip
pinctrl: core: Return selector to the pinctrl driver
We must return the selector from pinctrl_generic_add_group() so pin controller device drivers can remove the right group if needed for deferred probe for example. And we now must make sure that a proper name is passed so we can use it to check if the entry already exists. Note that fixes are also needed for the pin controller drivers to use the selector value. Fixes: c7059c5ac70a ("pinctrl: core: Add generic pinctrl functions for managing groups") Reported-by: H. Nikolaus Schaller <hns@goldelico.com> Cc: Christ van Willegen <cvwillegen@gmail.com> Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Cc: Jacopo Mondi <jacopo+renesas@jmondi.org> Cc: Paul Cercueil <paul@crapouillou.net> Cc: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Tested-By: H. Nikolaus Schaller <hns@goldelico.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions