提交 dfe36109 编写于 作者: P Peter Meerwald 提交者: Anatolij Gustschin

twl4030: fix 'could could' in error messages

Signed-off-by: NPeter Meerwald <p.meerwald@bct-electronic.com>
上级 fd70aa41
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册