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 14:53:57 +0000 (16:53 +0200)
commita9c5e5330cc2fde2ff3ddf0924f7a371f8749fff
tree1d793ffaf1845418c3236d1b8793893850326664
parent59326554d942a1c7009240ae16022a11f6e1da60
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