commit | 0659ecb5dfc10e4bb771d72e8b1b5c429f612082 | [log] [tgz] |
---|---|---|
author | Quentin Schulz <quentin.schulz@free-electrons.com> | Mon Jan 15 11:33:35 2018 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Tue Jan 30 18:33:22 2018 +0000 |
tree | 7b5fad17501f3d9a7473183a7d33e179da4b034f | |
parent | 64eb8a15a439b56243697237bab6e2c48281138c [diff] |
iio: adc: axp20x_adc: put ADC rate setting in a per-variant function To prepare for a new comer that set a different register with different values, move rate setting in a function that is specific to each AXP variant. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>