iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table
authorDaniel Baluta <daniel.baluta@intel.com>
Mon, 5 Jan 2015 09:21:42 +0000 (11:21 +0200)
committerJonathan Cameron <jic23@kernel.org>
Tue, 3 Feb 2015 21:03:20 +0000 (21:03 +0000)
commita36385a2613c0755164ec53e8b7a42d4d11f65b9
tree8f1df9886acfd94f0176bd8413f9770bc6a2865c
parent1e716a15ce5e5840cac0fb4cd6ca79d70d3568a9
iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

odr_bits values are between 0 and 11, so we can use the index
in kmx61_samp_freq_table instead of odr_bits structure member.

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/kmx61.c
This page took 0.025978 seconds and 5 git commands to generate.