iio:magnetometer:mag3110: Fix initialization of ctrl_reg1
authorPeter Meerwald <pmeerw@pmeerw.net>
Wed, 5 Feb 2014 09:09:00 +0000 (09:09 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 May 2014 10:19:42 +0000 (11:19 +0100)
commit6584891bd0607ec7c67868b82d221bef67558962
tree13c27273e9e068b01cfe82617daf03006c29f3e4
parent82a5803c782417754bdebb8dfa34edc62c0d8bbc
iio:magnetometer:mag3110: Fix initialization of ctrl_reg1

DR bits need to be shifted; since MAG3110_CTRL_DR_DEFAULT is
zero, the change has no effect

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/mag3110.c