OSDN Git Service

staging:iio:gyro:adxrs450 make more use of spi_read and spi_write.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 12 Aug 2011 16:47:55 +0000 (17:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:32:47 +0000 (13:32 -0700)
commitcb4496876f03631eff913b3c608c964d48d61eb9
tree50502c40ab557c206003e75855b2b8e3ac2d75cb
parent58ea7784a361fb8e25f84fa2f9e7cb26b8ea41e6
staging:iio:gyro:adxrs450 make more use of spi_read and spi_write.

This needs confirmation that the devices is happy if another part is
talked to in between the request for a register and the read back.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/gyro/adxrs450_core.c