diff options
author | John Keeping <john@metanate.com> | 2016-08-07 12:55:40 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-08-12 09:23:20 -0600 |
commit | aa26776a2dfbf327d38a469e0d4e438f967350ab (patch) | |
tree | af65669bf3e33f8295f762d61501b686c9a98c25 | |
parent | 65f89be2ef73c6605ffe08eb671c425603ec765a (diff) | |
download | u-boot-imx-aa26776a2dfbf327d38a469e0d4e438f967350ab.zip u-boot-imx-aa26776a2dfbf327d38a469e0d4e438f967350ab.tar.gz u-boot-imx-aa26776a2dfbf327d38a469e0d4e438f967350ab.tar.bz2 |
power: pmic: act8846: add missing newline to debug statements
Signed-off-by: John Keeping <john@metanate.com>
Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/power/pmic/act8846.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/pmic/act8846.c b/drivers/power/pmic/act8846.c index ff096b3..e8164bf 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; } |