commit | 7bd49fe120622b130ca0c4675a17a53e12aba99c | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Fri Jun 14 16:58:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Jun 14 21:53:31 2013 +0100 |
tree | 4c1bb0c28c9d9b5167bc855d5b27d715dbe8b046 | |
parent | 3f8db0d46be2e57110771cbebc42141934e4cf5a [diff] |
staging:iio:ad7291: Use i2c_smbus_{read,write}_word_swapped instead of open-coding it No need to swap the upper and lower byte by hand if there is a helper function which already does this. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>