mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 06:04:40 +08:00
pinctrl: single: fix debug messages formatting
The dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", ®, val); prints the 'reg' address preceded by the prefix 0x0x instead of 0x. This because the printf '%pa' format specifier already prepends the prefix '0x' to the address displayed. Signed-off-by: Dario Binacchi <dariobin@libero.it> Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
This commit is contained in:
parent
9b884e79a6
commit
fcf6a2b30a
@ -101,7 +101,7 @@ static int single_configure_pins(struct udevice *dev,
|
||||
pdata->width);
|
||||
continue;
|
||||
}
|
||||
dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", ®, val);
|
||||
dev_dbg(dev, " reg/val %pa/0x%08x\n", ®, val);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@ -140,7 +140,7 @@ static int single_configure_bits(struct udevice *dev,
|
||||
pdata->width);
|
||||
continue;
|
||||
}
|
||||
dev_dbg(dev, " reg/val 0x%pa/0x%08x\n", ®, val);
|
||||
dev_dbg(dev, " reg/val %pa/0x%08x\n", ®, val);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user