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)
commit4bf8523df925869d4d27478105f23656a2411ce0
tree9b600c8ce35635c17be60f2e421d735292c4505b
parent82f2acdce16ad7f124b6bb38c10a1894aa534864
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