From: Andy Shevchenko Date: Mon, 17 Oct 2022 17:15:06 +0000 (+0300) Subject: pinctrl: baytrail: Use str_hi_lo() helper X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c518d31b2a3390e059c7bda1c1ce429c83ee8517;p=linux.git pinctrl: baytrail: Use str_hi_lo() helper Use str_hi_lo() helper instead of open coding the same. Signed-off-by: Andy Shevchenko --- diff --git a/drivers/pinctrl/intel/pinctrl-baytrail.c b/drivers/pinctrl/intel/pinctrl-baytrail.c index 4e336b7f40059..d53952f5c87c6 100644 --- a/drivers/pinctrl/intel/pinctrl-baytrail.c +++ b/drivers/pinctrl/intel/pinctrl-baytrail.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include @@ -1305,7 +1306,7 @@ static void byt_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip) label, val & BYT_INPUT_EN ? " " : "in", val & BYT_OUTPUT_EN ? " " : "out", - val & BYT_LEVEL ? "hi" : "lo", + str_hi_lo(val & BYT_LEVEL), comm->pad_map[i], comm->pad_map[i] * 16, conf0 & 0x7, conf0 & BYT_TRIG_NEG ? " fall" : " ",