linux-stable/drivers/staging/iio/magnetometer
Jonathan Cameron 694e1b5f95 staging:iio:magnetometer:ak8975 convert to iio_chan_spec + cleanups.
iio_chan_spec conversion is straight forward.

Other changes:
* use i2c_smbus_write_byte_data in write_data
* c99 isms to setup various structures.
* move the comment about the scale factor and kill off trivial access func.
* make mode setting code use a bool rather than a ulong.

Ultimately I'd like to get rid of that mode bit entirely and handle it through
core pm routines, but have left it for now.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-23 13:32:49 -07:00
..
ak8975.c staging:iio:magnetometer:ak8975 convert to iio_chan_spec + cleanups. 2011-08-23 13:32:49 -07:00
hmc5843.c staging:iio:magnetometer:hmc5843 iio_chan_spec conversion. 2011-08-23 13:32:48 -07:00
Kconfig staging: iio: ak8975: Add ak8975 magnetometer sensor 2010-09-14 16:37:11 -07:00
magnet.h staging: iio: Change GAIN macros to SCALE. 2010-09-14 16:37:10 -07:00
Makefile staging: iio: ak8975: Add ak8975 magnetometer sensor 2010-09-14 16:37:11 -07:00