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>
Sat, 15 Jul 2017 09:57:46 +0000 (11:57 +0200)
commit174ddbcc69e239481ba43799a2e6118dbbbf2016
treecad15e93918babd881eaf0a58d4429be7d20a83c
parent45424528a184f8d3b698268db4bb58eaa52cbd6f
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