projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99381be
)
i2c-nomadik: remove the redundant error message
author
srinidhi kasagar
<
[email protected]
>
Fri, 13 May 2011 10:29:38 +0000
(12:29 +0200)
committer
Ben Dooks
<
[email protected]
>
Tue, 24 May 2011 23:20:29 +0000
(
00:20
+0100)
The abort cause string itself is an error, so remove the redundant
explicit error message.
Signed-off-by: Srinidhi Kasagar <
[email protected]
>
Reviewed-by: Jonas Aberg <
[email protected]
>
Signed-off-by: Linus Walleij <
[email protected]
>
Signed-off-by: Ben Dooks <
[email protected]
>
drivers/i2c/busses/i2c-nomadik.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-nomadik.c
b/drivers/i2c/busses/i2c-nomadik.c
index a02141a99713e12335b67ae1a83f2c718dff1067..dbd93b25d2c50c07e6114c06a82aabeee2aa5c4e 100644
(file)
--- 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,
if (status || (dev->result)) {
/* get the abort cause */
cause = (readl(dev->virtbase + I2C_SR) >> 4) & 0x7;
- dev_err(&dev->pdev->dev, "error during I2C"
- "message xfer: %d\n", cause);
dev_err(&dev->pdev->dev, "%s\n",
cause >= ARRAY_SIZE(abort_causes)
? "unknown reason" : abort_causes[cause]);