pmdomain: renesas: rcar-sysc: Absorb rcar_sysc_ch into rcar_sysc_pd
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Apr 2024 10:29:22 +0000 (12:29 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Apr 2024 14:51:28 +0000 (16:51 +0200)
commitce5e83925c99ff43cc0b9bebe53d9dcba8e7c08b
tree7c6c4b0464715c572614db7e9efbafce8e199689
parentdff14aff1ff783bd7e1ff5e550e72a38b665d8a8
pmdomain: renesas: rcar-sysc: Absorb rcar_sysc_ch into rcar_sysc_pd

Until commit 7e8a50df26f4e700 ("soc: renesas: rcar-sysc: Drop legacy
handling") in v4.19, the rcar_sysc_ch structure was part of the API for
legacy board code not yet using DT.  Since then, there is no longer a
reason to keep it as a separate structure.

Moreover, a future quirk handling will need access to the rcar_sysc_pd
structure's flags member in rcar_sysc_pwr_on_off().  Hence absorb the
rcar_sysc_ch structure into the rcar_sysc_pd structure, and pass around
the latter instead of the former.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/672805a8c52ce63200e342212bbe6f84a445397b.1713348705.git.geert+renesas@glider.be
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/renesas/rcar-sysc.c