projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49f91ac
)
mfd: cros ec: spi: Fix debug output
author
Thierry Reding
<thierry.reding@gmail.com>
Mon, 18 Nov 2013 10:30:49 +0000
(11:30 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 6 Jan 2014 09:13:23 +0000
(09:13 +0000)
The dev_cont() symbol doesn't exist, so replace it with pr_cont(). While
at it, also append a newline to the debug output to make it look nicer.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/cros_ec_spi.c
b/drivers/mfd/cros_ec_spi.c
index ab49fe51a5d1be52ad3e9aae39d12def1c40852d..27be73523b9c32a1c07845dc3a0b054d21a689d1 100644
(file)
--- a/
drivers/mfd/cros_ec_spi.c
+++ b/
drivers/mfd/cros_ec_spi.c
@@
-76,7
+76,9
@@
static void debug_packet(struct device *dev, const char *name, u8 *ptr,
dev_dbg(dev, "%s: ", name);
for (i = 0; i < len; i++)
- dev_cont(dev, " %02x", ptr[i]);
+ pr_cont(" %02x", ptr[i]);
+
+ pr_cont("\n");
#endif
}