diff options
| author | 2026-09-13 22:56:54 +0300 | |
|---|---|---|
| committer | 2026-09-15 10:49:07 +0200 | |
| commit | 0cd4a7b3a4883970df3ae8814d9aabdecf65a81e (patch) | |
| tree | 9f2859ef893e9a4b58986cd052eefd2be41d0c9c /scripts/Makefile.thinlto | |
| parent | pinctrl: renesas: rzt2h: Reuse helpers (diff) | |
pinctrl: renesas: rzt2h: Add a helper for reading PFC
Introduce a rzt2h_pin_read_pfc() helper and replace the open-coded
implementation inside rzt2h_gpio_get_direction() to simplify the code.
While at it, use field_get() with PFC_PIN_MASK to avoid the manual shift
and mask.
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260913195654.3371385-6-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
