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, 5 Jul 2015 12:54:15 +0000 (13:54 +0100)
commit2616dfa1d3061b02c3cbce60bc1a59281eccae31
treeceb3a6f7eddfb15779f5c419d787360ef6bab3a1
parent5d6e834ac440ce6736b08880503c107d9dc3f320
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