]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio:magnetometer:ak8975: remove 'mode' attribute
authorLeed Aguilar <leed.aguilar@ti.com>
Wed, 6 Jun 2012 20:16:02 +0000 (16:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:32:59 +0000 (14:32 +0900)
commit2c492f7b216df9b006f060769693053a84ac97fd
tree9b600c8ce35635c17be60f2e421d735292c4505b
parent1a27e02fa5d5163796216240038a1ddba99dd6a7
staging:iio:magnetometer:ak8975: remove 'mode' attribute

The raw data reading process (ak8975_read_axis) sets the
single measurement mode to take a sample and once the
conversion is completed the device enters into power-down
mode automatically, therefore there is no need to enable
a flag for this to happen.

Signed-off-by: Leed Aguilar <leed.aguilar@ti.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/magnetometer/ak8975.c