aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-12-06 17:06:17 +0100
committerJean Delvare <khali@linux-fr.org>2009-12-06 17:06:17 +0100
commit02864d58ce102804b148c92e44726d9571d65d1e (patch)
treea2f94e0dfa1e07e2cbaeec55187afe46b1bef109 /fs
parenti2c-powermac: Reject unsupported I2C transactions (diff)
downloadlinux-dev-02864d58ce102804b148c92e44726d9571d65d1e.tar.xz
linux-dev-02864d58ce102804b148c92e44726d9571d65d1e.zip
i2c-powermac: Refactor i2c_powermac_smbus_xfer
I wanted to add some error logging to the i2c-powermac driver, but found that it was very difficult due to the way the i2c_powermac_smbus_xfer function is organized. Refactor the code in this function so that each low-level function is only called once. Signed-off-by: Jean Delvare <khali@linux-fr.org> Tested-by: Michel Daenzer <michel@daenzer.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions