diff options
author | srinidhi kasagar <srinidhi.kasagar@stericsson.com> | 2011-05-13 06:29:38 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-05-24 19:20:29 -0400 |
commit | c436f92a4646e4635554bda39407dfb907352321 (patch) | |
tree | eb2ecac625e120933e51fc28442c8cd6144c415b /drivers/i2c/busses | |
parent | 99381bec0a569a69345148cb1ac74c2caa43a227 (diff) |
i2c-nomadik: remove the redundant error message
The abort cause string itself is an error, so remove the redundant
explicit error message.
Signed-off-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-nomadik.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c index a02141a99713..dbd93b25d2c5 100644 --- a/drivers/i2c/busses/i2c-nomadik.c +++ b/drivers/i2c/busses/i2c-nomadik.c | |||
@@ -609,8 +609,6 @@ static int nmk_i2c_xfer(struct i2c_adapter *i2c_adap, | |||
609 | if (status || (dev->result)) { | 609 | if (status || (dev->result)) { |
610 | /* get the abort cause */ | 610 | /* get the abort cause */ |
611 | cause = (readl(dev->virtbase + I2C_SR) >> 4) & 0x7; | 611 | cause = (readl(dev->virtbase + I2C_SR) >> 4) & 0x7; |
612 | dev_err(&dev->pdev->dev, "error during I2C" | ||
613 | "message xfer: %d\n", cause); | ||
614 | dev_err(&dev->pdev->dev, "%s\n", | 612 | dev_err(&dev->pdev->dev, "%s\n", |
615 | cause >= ARRAY_SIZE(abort_causes) | 613 | cause >= ARRAY_SIZE(abort_causes) |
616 | ? "unknown reason" : abort_causes[cause]); | 614 | ? "unknown reason" : abort_causes[cause]); |