diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2024-12-24 15:29:41 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-12-28 14:28:16 +0000 |
commit | 4467dfddc555d66d34e29f064c086663f81d1fd4 (patch) | |
tree | e4acd097c74120509c4541f28634f86655579201 /tools/perf/scripts/python | |
parent | a61e9c4fa2e852a40dd87ce3a38266c90a16d178 (diff) |
iio: adc: meson: simplify MESON_SAR_ADC_REG11 register access
Simply check the max_register value to decide whether
MESON_SAR_ADC_REG11 is present on the current IP revision. This allows
dropping two additional bool fields from struct meson_sar_adc_param
which previously had to be manually kept in sync. No functional changes
intended.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patch.msgid.link/20241224142941.97759-4-martin.blumenstingl@googlemail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions