From: John Keeping Date: Sun, 7 Aug 2016 11:55:40 +0000 (+0100) Subject: power: pmic: act8846: add missing newline to debug statements X-Git-Tag: v2016.09-rc2~64^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aa26776a2dfbf327d38a469e0d4e438f967350ab;p=oweals%2Fu-boot.git power: pmic: act8846: add missing newline to debug statements Signed-off-by: John Keeping Acked-by: Simon Glass --- diff --git a/drivers/power/pmic/act8846.c b/drivers/power/pmic/act8846.c index ff096b3a9c..e8164bfd08 100644 --- a/drivers/power/pmic/act8846.c +++ b/drivers/power/pmic/act8846.c @@ -29,7 +29,7 @@ static int act8846_write(struct udevice *dev, uint reg, const uint8_t *buff, int len) { if (dm_i2c_write(dev, reg, buff, len)) { - debug("write error to device: %p register: %#x!", dev, reg); + debug("write error to device: %p register: %#x!\n", dev, reg); return -EIO; } @@ -39,7 +39,7 @@ static int act8846_write(struct udevice *dev, uint reg, const uint8_t *buff, static int act8846_read(struct udevice *dev, uint reg, uint8_t *buff, int len) { if (dm_i2c_read(dev, reg, buff, len)) { - debug("read error from device: %p register: %#x!", dev, reg); + debug("read error from device: %p register: %#x!\n", dev, reg); return -EIO; }