staging:iio:lis3l02dq: General cleanup
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 18 May 2011 13:40:58 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:06:12 +0000 (16:06 -0700)
commit1b076b5210870e819d23434bd134cf8d6dddc68c
tree1d80699efde7c04eb72c2a98f48e03b908907d9a
parent3feb07979c4d5b63d5e15ef01c97018a6d0db5b3
staging:iio:lis3l02dq: General cleanup

As Arnd observed, things are clearner if we pass iio_dev into read and write fucntions.

Now uses st for lis3l02dq_state everywhere.

Other bits of trivial tidying.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/lis3l02dq.h
drivers/staging/iio/accel/lis3l02dq_core.c
drivers/staging/iio/accel/lis3l02dq_ring.c