]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging:iio:adis16080: be16 cleanups
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 9 Jan 2013 14:01:00 +0000 (14:01 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 26 Jan 2013 10:28:28 +0000 (10:28 +0000)
commit3c80372dae17cb1a5a493c9ed02f7ca2a8d9ce53
tree58f15af3938c9c9c9c375e7538f145f2368e0ab5
parent9ab82f071125e340a052570df90813b11574f8d4
staging:iio:adis16080: be16 cleanups

The sample buffer contains big endian 16bit words. So use the be16 datatype for
the buffer and use the proper helper functions for endianness conversion instead
of openconding it.

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