projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed89355
)
spi: tle62x0: dump small buffers using %*ph
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Wed, 10 Jul 2013 14:34:43 +0000
(17:34 +0300)
committer
Mark Brown
<broonie@linaro.org>
Wed, 10 Jul 2013 14:54:53 +0000
(15:54 +0100)
We have nice specifier in kernel for that.
It changes separator from ',' (comma) to space, though it's not a big deal
since it's just a debug message.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-tle62x0.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-tle62x0.c
b/drivers/spi/spi-tle62x0.c
index 6b0874d782ed7aa1c9cd569637500e12a1d74dd1..3e528c0396e797aba34716bb0fa8a4cde889e575 100644
(file)
--- a/
drivers/spi/spi-tle62x0.c
+++ b/
drivers/spi/spi-tle62x0.c
@@
-52,8
+52,7
@@
static inline int tle62x0_write(struct tle62x0_state *st)
buff[1] = gpio_state;
}
- dev_dbg(&st->us->dev, "buff %02x,%02x,%02x\n",
- buff[0], buff[1], buff[2]);
+ dev_dbg(&st->us->dev, "buff %3ph\n", buff);
return spi_write(st->us, buff, (st->nr_gpio == 16) ? 3 : 2);
}