]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging:iio:magnetometer:ak8975 use standard i2c_smbus read functions.
authorJonathan Cameron <jic23@kernel.org>
Sun, 24 Mar 2013 16:58:00 +0000 (16:58 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 2 Apr 2013 17:36:35 +0000 (18:36 +0100)
commitc411f600cea54d1e00a32071502226acc5072428
tree7548cba40dde6186deed6c31d3a0fbad818b4f8b
parentaa9922579fee20ac4f2bb959a79bbfbff2c04585
staging:iio:magnetometer:ak8975 use standard i2c_smbus read functions.

Now the mysterious NOSTART flag is gone from the read, we can use the
i2c_smbus_read_byte/word/i2c_block_data functions instead of the
local reimplementation of these standard functions.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/staging/iio/magnetometer/ak8975.c