staging:iio:hmc5843: Add trigger handling
authorPeter Meerwald <pmeerw@pmeerw.net>
Wed, 16 Oct 2013 22:19:00 +0000 (23:19 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 17 Oct 2013 22:47:55 +0000 (23:47 +0100)
commitcb9b9a828f4fa3ff4465001da9a4588b779d0047
treed18f03c76cc1e1d9ed73c7a0540aa99fe2f4dca9
parent39c18828829ddd8acc5885e6568ee2fdb9ec5dc9
staging:iio:hmc5843: Add trigger handling

v3:
* use __be16 instead of s16
v2 (thanks to Jonathan Cameron):
* drop dynamic buffer allocation, buffer is in hmc5842_data
* grab timestamp near data acquisition
* restrict available scan masks (only read all axis)

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/magnetometer/hmc5843.c