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)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 03:08:31 +0000 (03:08 +0000)
commit6475252ba48ef6628ed90ff29f9da6a1ab1832b1
tree404c9b2dadaa0a282e1ef7deff66785114571f37
parent0d5e09f9447a9bddd94f0b3dd8b79f6893079962
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