projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d54f0f
)
pinctrl: pinctrl-at91.c: fix decimal printf format specifiers prefixed with 0x
author
Hans Wennborg
<hans@hanshq.net>
Wed, 6 Aug 2014 04:43:16 +0000
(21:43 -0700)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sun, 17 Aug 2014 14:15:44 +0000
(09:15 -0500)
The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.
Found by using regex suggested by Joe Perches.
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pinctrl/pinctrl-at91.c
b/drivers/pinctrl/pinctrl-at91.c
index af1ba4fc150dd4e10509b8e53ccab89458d7d09a..60464a2648aa0dfb7c31fe13c75dc419472c3b31 100644
(file)
--- a/
drivers/pinctrl/pinctrl-at91.c
+++ b/
drivers/pinctrl/pinctrl-at91.c
@@
-497,10
+497,10
@@
static struct at91_pinctrl_mux_ops at91sam9x5_ops = {
static void at91_pin_dbg(const struct device *dev, const struct at91_pmx_pin *pin)
{
if (pin->mux) {
- dev_dbg(dev, "pio%c%d configured as periph%c with conf = 0x%l
u
\n",
+ dev_dbg(dev, "pio%c%d configured as periph%c with conf = 0x%l
x
\n",
pin->bank + 'A', pin->pin, pin->mux - 1 + 'A', pin->conf);
} else {
- dev_dbg(dev, "pio%c%d configured as gpio with conf = 0x%l
u
\n",
+ dev_dbg(dev, "pio%c%d configured as gpio with conf = 0x%l
x
\n",
pin->bank + 'A', pin->pin, pin->conf);
}
}