commit | 75255b29d473613e2a5737d6fb368dc4009c90a8 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Tue Nov 29 11:23:27 2011 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Nov 30 23:41:44 2011 -0800 |
tree | c045c4dfa491dee839b864ac0d55b38166754a4f | |
parent | cdcc96e261909eccf596c070116c8b906a42b328 [diff] |
Input: ad7879-i2c - use swapped variant of i2c_smbus_read_word_data This variant was introduced in i2c: boilerplate function for byte swapped smbus_write/read_word_data This also has the side effect of ensuring any errors from the i2c read and no longer mangled. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>