pinctrl: uniphier: fix .pin_dbg_show() callback
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 31 May 2016 06:30:10 +0000 (15:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2016 13:23:41 +0000 (15:23 +0200)
commit2857aac419e4e57fb3fc0f3762307b4975f0cd30
tree99652108cfc2a8e5a0f98dd0c1d76876383724ab
parent1bcafa3814f3564dc663f8ac3de84fa49bad0b35
pinctrl: uniphier: fix .pin_dbg_show() callback

commit 10ef8277ec658bf6619da9b3fd65c2db7353c2a4 upstream.

Without this, reading the "pins" in the debugfs causes kernel BUG.

Fixes: 6e9088920258 ("pinctrl: UniPhier: add UniPhier pinctrl core support")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c