diff options
author | Peter Meerwald <p.meerwald@bct-electronic.com> | 2012-11-19 23:13:04 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2013-01-14 23:22:37 +0100 |
commit | dfe361098df1e5acac30b53b7c5304cc9251013a (patch) | |
tree | 799e94bcc5da4e01841ca235b5551597183c3e83 /drivers | |
parent | fd70aa41468be4324275910f85578cb5be6a0439 (diff) | |
download | u-boot-imx-dfe361098df1e5acac30b53b7c5304cc9251013a.zip u-boot-imx-dfe361098df1e5acac30b53b7c5304cc9251013a.tar.gz u-boot-imx-dfe361098df1e5acac30b53b7c5304cc9251013a.tar.bz2 |
twl4030: fix 'could could' in error messages
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/twl4030.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c index 36b2144..e7d5f13 100644 --- a/drivers/power/twl4030.c +++ b/drivers/power/twl4030.c @@ -71,7 +71,7 @@ void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val, ret = twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, vsel_val, vsel_reg); if (ret != 0) { - printf("Could could not write vsel to reg %02x (%d)\n", + printf("Could not write vsel to reg %02x (%d)\n", vsel_reg, ret); return; } @@ -80,7 +80,7 @@ void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val, ret = twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, dev_grp_sel, dev_grp); if (ret != 0) - printf("Could could not write grp_sel to reg %02x (%d)\n", + printf("Could not write grp_sel to reg %02x (%d)\n", dev_grp, ret); } |