diff options
author | Cixi Geng <cixi.geng1@unisoc.com> | 2022-04-19 16:24:56 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-04-28 20:22:56 +0200 |
commit | aac053d03eecb3141268e360696f90e68d78e8ad (patch) | |
tree | 27523c416724dce41b40fff56301c581fa8c75bc /drivers/iio/common | |
parent | iio: adc: sc27xx: structure adjustment and optimization (diff) | |
download | linux-aac053d03eecb3141268e360696f90e68d78e8ad.tar.xz linux-aac053d03eecb3141268e360696f90e68d78e8ad.zip |
iio: adc: sc27xx: refactor some functions for support more PMiCs
Refactor the common adc_nvmem_cell_calib_data,adc_to_volt and call
these in the origin sc27xx_adc_scale_calibration,sc27xx_adc_to_volt
Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
Link: https://lore.kernel.org/r/20220419142458.884933-6-gengcixi@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions