Re: [PATCH] v4l: use i2c_smbus_read_word_swapped

2011-10-21 Thread Jean Delvare
On Fri, 21 Oct 2011 11:13:29 +0100, Jonathan Cameron wrote: > Function ensures that error codes don't get mangled. > Dependant on: > i2c: boilerplate function for byte swapped smbus_write/read_word_data > which is working it's way through the i2c tree. > > Signed-off-by: Jonathan Cameron > --- >

[PATCH] v4l: use i2c_smbus_read_word_swapped

2011-10-21 Thread Jonathan Cameron
Function ensures that error codes don't get mangled. Dependant on: i2c: boilerplate function for byte swapped smbus_write/read_word_data which is working it's way through the i2c tree. Signed-off-by: Jonathan Cameron --- In some cases the now largely pointless boiler plate functions could be sq