Commit dfe361098df1e5acac30b53b7c5304cc9251013a

Authored by Peter Meerwald
Committed by Anatolij Gustschin
1 parent fd70aa4146

twl4030: fix 'could could' in error messages

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/power/twl4030.c
... ... @@ -71,7 +71,7 @@
71 71 ret = twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, vsel_val,
72 72 vsel_reg);
73 73 if (ret != 0) {
74   - printf("Could could not write vsel to reg %02x (%d)\n",
  74 + printf("Could not write vsel to reg %02x (%d)\n",
75 75 vsel_reg, ret);
76 76 return;
77 77 }
... ... @@ -80,7 +80,7 @@
80 80 ret = twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, dev_grp_sel,
81 81 dev_grp);
82 82 if (ret != 0)
83   - printf("Could could not write grp_sel to reg %02x (%d)\n",
  83 + printf("Could not write grp_sel to reg %02x (%d)\n",
84 84 dev_grp, ret);
85 85 }
86 86