diff options
| author | 2026-07-21 11:36:26 +0200 | |
|---|---|---|
| committer | 2026-10-14 20:04:04 -0700 | |
| commit | c8f1aa63942f5e06cbecf3390fd57c92a4f44dd5 (patch) | |
| tree | 37a652e8a80ab8765b4931861d3df1ee0154ef04 /scripts/Makefile.thinlto | |
| parent | iio: adc: qcom-spmi-iadc: Migrate to devm_spmi_subdevice_alloc_and_add() (diff) | |
iio: adc: qcom-spmi-iadc: Remove regmap R/W wrapper functions
This driver doesn't need to add any register base address to any
regmap call anymore since it was migrated to register as a SPMI
subdevice with its own regmap reg_base, which makes the regmap
API to automatically add such base address internally.
Since the iadc_{read,write,read_result}() functions now only do
call regmap_{read,write,bulk_read}() and nothing else, simplify
the driver by removing them and by calling regmap APIs directly.
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-QRD
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
