summaryrefslogtreecommitdiff
path: root/drivers/power/pmic/max8997.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-11-30 17:09:50 -0500
committerTom Rini <trini@konsulko.com>2018-11-30 17:09:50 -0500
commit172e3c11901229f0fb88317ac73a47d944a74f46 (patch)
tree15b0252705fe2ee78d7501c79a2161a172e2c75b /drivers/power/pmic/max8997.c
parentdaec1fd482b5ea735d70676a1909aec4355bbf86 (diff)
parent1678754f5e2cbc14f9612e953b39cc08ada66866 (diff)
Merge tag 'pull-30nov18' of git://git.denx.de/u-boot-dm
Fix sound on sandbox Convert TPM fully to DM Tidy up sandbox I2C emulation Add a 'make qcheck' target for faster testing A few other misc things (dropped the final patch which breaks clang for some reason)
Diffstat (limited to 'drivers/power/pmic/max8997.c')
-rw-r--r--drivers/power/pmic/max8997.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/pmic/max8997.c b/drivers/power/pmic/max8997.c
index 0dcdbad583..dbae155fb3 100644
--- a/drivers/power/pmic/max8997.c
+++ b/drivers/power/pmic/max8997.c
@@ -23,7 +23,7 @@ static int max8997_write(struct udevice *dev, uint reg, const uint8_t *buff,
ret = dm_i2c_write(dev, reg, buff, len);
if (ret)
- pr_err("write error to device: %p register: %#x!", dev, reg);
+ pr_err("write error to device: %p register: %#x!\n", dev, reg);
return ret;
}
@@ -34,7 +34,7 @@ static int max8997_read(struct udevice *dev, uint reg, uint8_t *buff, int len)
ret = dm_i2c_read(dev, reg, buff, len);
if (ret)
- pr_err("read error from device: %p register: %#x!", dev, reg);
+ pr_err("read error from device: %p register: %#x!\n", dev, reg);
return ret;
}