diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-11-18 11:30:49 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-06 09:13:23 +0000 |
commit | 9e146f43301caa69fca98c8036f11d940e0f29f9 (patch) | |
tree | 69927dbab7d753f828d69a3ed6e754076e7cc59e /drivers/mfd | |
parent | 49f91ac3310da217ba877b1872d2aba907022a22 (diff) | |
download | linux-9e146f43301caa69fca98c8036f11d940e0f29f9.tar.bz2 |
mfd: cros ec: spi: Fix debug output
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/cros_ec_spi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mfd/cros_ec_spi.c b/drivers/mfd/cros_ec_spi.c index ab49fe51a5d1..27be73523b9c 100644 --- 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 } |