staging:iio:ad7291: Use i2c_smbus_{read,write}_word_swapped instead of open-coding it
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 14 Jun 2013 15:58:00 +0000 (16:58 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 14 Jun 2013 20:53:31 +0000 (21:53 +0100)
commit7bd49fe120622b130ca0c4675a17a53e12aba99c
tree4c1bb0c28c9d9b5167bc855d5b27d715dbe8b046
parent3f8db0d46be2e57110771cbebc42141934e4cf5a
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>
drivers/staging/iio/adc/ad7291.c