pinctrl: pinctrl-rp1: Make use of str_hi_lo helper

Use the str_hi_lo helper API to print value
of a pin for debugging instead of using
ternary operator.

Signed-off-by: Alex Tran <alex.t.tran@gmail.com>
Reviewed-by: Andrea della Porta <andrea.porta@suse.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
Alex Tran
2026-07-05 09:01:04 -07:00
committed by Linus Walleij
parent 81d79de72a
commit 3f0245e23a

View File

@@ -1085,7 +1085,7 @@ static void rp1_pctl_pin_dbg_show(struct pinctrl_dev *pctldev,
seq_printf(s, "function %s (%s) in %s; irq %d (%s)",
rp1_func_names[fsel].name, rp1_func_names[func].name,
value ? "hi" : "lo",
str_hi_lo(value),
irq, irq_type_names[pin->irq_type]);
}