pmdomain: starfive: Extract JH7110 pmu private operations
authorChanghuang Liang <changhuang.liang@starfivetech.com>
Wed, 13 Sep 2023 13:54:27 +0000 (14:54 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Sep 2023 22:23:04 +0000 (00:23 +0200)
commit296eea56129bdb30680d97b5297b2e6c598976f1
treefc6653e32ff3f217072af0b2706ffb0c0722cc37
parent6238fda156b498269aa66917de0d1342e90cead1
pmdomain: starfive: Extract JH7110 pmu private operations

Move JH7110 private operation into private data of compatible. Convenient
to add AON PMU which would not have interrupts property.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230913-slideshow-luckiness-38ff17de84c6@spud
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/starfive/jh71xx-pmu.c