Re: [PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-02-02 Thread Daniel Baluta
On Sun, Feb 1, 2015 at 12:11 PM, Jonathan Cameron wrote: > On 05/01/15 23:00, Hartmut Knaack wrote: >> Daniel Baluta schrieb am 05.01.2015 um 10:21: >>> 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. >>> >>>

Re: [PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-02-02 Thread Daniel Baluta
On Sun, Feb 1, 2015 at 12:11 PM, Jonathan Cameron ji...@kernel.org wrote: On 05/01/15 23:00, Hartmut Knaack wrote: Daniel Baluta schrieb am 05.01.2015 um 10:21: 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.

Re: [PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-02-01 Thread Jonathan Cameron
On 05/01/15 23:00, Hartmut Knaack wrote: > Daniel Baluta schrieb am 05.01.2015 um 10:21: >> 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 > Reviewed-by: Hartmut Knaack Applied to

Re: [PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-02-01 Thread Jonathan Cameron
On 05/01/15 23:00, Hartmut Knaack wrote: Daniel Baluta schrieb am 05.01.2015 um 10:21: 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.bal...@intel.com Reviewed-by: Hartmut Knaack

Re: [PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-01-05 Thread Hartmut Knaack
Daniel Baluta schrieb am 05.01.2015 um 10:21: > 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 Reviewed-by: Hartmut Knaack > --- > Changes since v1: > * use ARRAY_SIZE instead

[PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-01-05 Thread Daniel Baluta
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 --- Changes since v1: * use ARRAY_SIZE instead of an hardcoded value * review is at: https://lkml.org/lkml/2015/1/1/46

[PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-01-05 Thread Daniel Baluta
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.bal...@intel.com --- Changes since v1: * use ARRAY_SIZE instead of an hardcoded value * review is at:

Re: [PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-01-05 Thread Hartmut Knaack
Daniel Baluta schrieb am 05.01.2015 um 10:21: 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.bal...@intel.com Reviewed-by: Hartmut Knaack knaac...@gmx.de --- Changes since v1: