mfd: Clarify twl4030 return value for read and write
authorAmit Kucheria <amit.kucheria@verdurent.com>
Fri, 11 Dec 2009 12:21:45 +0000 (13:21 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 13 Dec 2009 18:22:00 +0000 (19:22 +0100)
We should be checking if all the messages were tranferred. If not, then we
should propagate the i2c core error code or EIO.
Currently we return success (0) even if none of messages were transferred
successfully.

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found