mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00
pinctrl: pinconf-generic: print hex value
Hex value will be easier to match hardware register bits layout, so same as pinconf_generic_dump_config, print hex value. Signed-off-by: Peng Fan <peng.fan@nxp.com> Message-ID: <20240412005128.2937486-1-peng.fan@oss.nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
9d2df36538
commit
3ba11e684d
@ -88,7 +88,7 @@ static void pinconf_generic_dump_one(struct pinctrl_dev *pctldev,
|
||||
seq_puts(s, items[i].display);
|
||||
/* Print unit if available */
|
||||
if (items[i].has_arg) {
|
||||
seq_printf(s, " (%u",
|
||||
seq_printf(s, " (0x%x",
|
||||
pinconf_to_config_argument(config));
|
||||
if (items[i].format)
|
||||
seq_printf(s, " %s)", items[i].format);
|
||||
|
Loading…
Reference in New Issue
Block a user