diff options
| author | 2024-12-24 15:29:41 +0100 | |
|---|---|---|
| committer | 2024-12-28 14:28:16 +0000 | |
| commit | 4467dfddc555d66d34e29f064c086663f81d1fd4 (patch) | |
| tree | e4acd097c74120509c4541f28634f86655579201 /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | iio: adc: meson: use tabs instead of spaces for some REG11 bit fields (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 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
