mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
power: pmic: act8846: add missing newline to debug statements
Signed-off-by: John Keeping <john@metanate.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
65f89be2ef
commit
aa26776a2d
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ static int act8846_write(struct udevice *dev, uint reg, const uint8_t *buff,
|
||||||
int len)
|
int len)
|
||||||
{
|
{
|
||||||
if (dm_i2c_write(dev, reg, buff, 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;
|
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)
|
static int act8846_read(struct udevice *dev, uint reg, uint8_t *buff, int len)
|
||||||
{
|
{
|
||||||
if (dm_i2c_read(dev, reg, buff, 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;
|
return -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue