]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: renesas: r9a08g046-sysc: Move common code to a helper
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Fri, 3 Apr 2026 14:13:38 +0000 (17:13 +0300)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 27 Apr 2026 09:27:46 +0000 (11:27 +0200)
commitf47cc240848124d739a6441df962cee7a0af6514
tree4dcb7572e8ecc28052ccb9a6159735ccde0b65c6
parent47ec5ac9d4e9b7e99102a282a79c47c3c6ca8b5c
soc: renesas: r9a08g046-sysc: Move common code to a helper

Move common code from rzg3l_regmap_{readable,writeable}_reg() to a
helper and use it to avoid code duplication.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260403141341.2851926-3-claudiu.beznea.uj@bp.reneasas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/soc/renesas/r9a08g046-sysc.c