pinctrl: sh-pfc: Update info pointer after SoC-specific init
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 9 Mar 2017 18:20:48 +0000 (19:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jul 2017 13:01:05 +0000 (15:01 +0200)
commit369bbf4b44acd1c2cf23e14eb7ece1ddb109e348
tree96eb5a58097b50e01c3584d5148f45233432e11d
parent828bd8441de0414a9c75660998bde3f1aed67641
pinctrl: sh-pfc: Update info pointer after SoC-specific init

commit 3091ae775fae17084013021d01513bc1ad274e6a upstream.

Update the sh_pfc_soc_info pointer after calling the SoC-specific
initialization function, as it may have been updated to e.g. handle
different SoC revisions.  This makes sure the correct subdriver name is
printed later.

Fixes: 0c151062f32c9db8 ("sh-pfc: Add support for SoC-specific initialization")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/sh-pfc/core.c