iio: magnetometer: mmc35240: fix available sampling frequencies
authorTeodora Baluta <teodora.baluta@intel.com>
Mon, 29 Jun 2015 12:44:50 +0000 (15:44 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Jul 2015 10:48:14 +0000 (11:48 +0100)
commitc99389ad3d80eeef0d0980a17e07f41822bda687
tree9d425e7a4d72958934fda881e21e42705cf8b5e3
parent53c8eccb710fbe10ad5ad1e056486f953c4cba18
iio: magnetometer: mmc35240: fix available sampling frequencies

Fix the sampling frequencies according to the datasheet (page 8). The
datasheet specifies the following available frequencies for continuous
mode: 1.5 Hz, 13 Hz, 25 Hz, and 50 Hz.

Also fix comments about the ODR to comply with datasheet.

Signed-off-by: Teodora Baluta <teodora.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/mmc35240.c