pinctrl: starfive: Move pm ops to pinctrl-starfive-jh7110.c
authorHal Feng <hal.feng@starfivetech.com>
Fri, 6 Jan 2023 08:15:21 +0000 (16:15 +0800)
committerHal Feng <hal.feng@starfivetech.com>
Mon, 9 Jan 2023 02:36:56 +0000 (10:36 +0800)
commit3c22d345773f1211c8651f3ef590a037d2cb2e58
treee9bb45d65d0e5278f3c11656fc85402c682c3cfd
parent9d16d3753da57c29d8744a11b66ec7f106b0f807
pinctrl: starfive: Move pm ops to pinctrl-starfive-jh7110.c

Because different SoCs have their own registers. We want to
save all registers in the pm suspend function and restore
them in the pm resume function.

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
drivers/pinctrl/starfive/pinctrl-starfive-jh7110.c
drivers/pinctrl/starfive/pinctrl-starfive.c
drivers/pinctrl/starfive/pinctrl-starfive.h