staging:iio:ad799x: Use i2c_smbus_{read,write}_word_data_swapped
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 26 Mar 2013 18:43:00 +0000 (18:43 +0000)
committerJonathan Cameron <jic23@kernel.org>
Fri, 29 Mar 2013 09:16:46 +0000 (09:16 +0000)
commit34244ceccd99fab2a2640a5af7cc5a94d02c91cd
tree6ecaf04a9a3ae83419076c2d1bd556d59491b167
parent8c7e862700285be2bfdca215012eb62cc28e9a48
staging:iio:ad799x: Use i2c_smbus_{read,write}_word_data_swapped

Use i2c_smbus_{read,write}_word_data_swapped instead of open-coding it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad799x_core.c