Skip to content

Commit 3ba11e6

Browse files
MrVanlinusw
authored andcommitted
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 <[email protected]> Message-ID: <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 9d2df36 commit 3ba11e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/pinconf-generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static void pinconf_generic_dump_one(struct pinctrl_dev *pctldev,
8888
seq_puts(s, items[i].display);
8989
/* Print unit if available */
9090
if (items[i].has_arg) {
91-
seq_printf(s, " (%u",
91+
seq_printf(s, " (0x%x",
9292
pinconf_to_config_argument(config));
9393
if (items[i].format)
9494
seq_printf(s, " %s)", items[i].format);

0 commit comments

Comments
 (0)