summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-03-28 22:47:19 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-04-04 11:11:26 +0300
commitfba6ca2a27d32835776f9056febc1a5e3c95f696 (patch)
treea993c75224d6108b3f2e5c2c2eea1db79318b5ff /include/linux
parentc86334652ac66f3e21c04dffbba766c57ff1f050 (diff)
downloadlinux-fba6ca2a27d32835776f9056febc1a5e3c95f696.tar.xz
iio: adc: ti-ads1015: Deduplicate channel macros
These macros differ only in the number of valid bits of each ADC sample and the shift of those bits, i.e. ADS1015 is 12bit ADC shifted by 4 left, ADS1115 is 16bit ADC shifted by 0. No functional change. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Andy Shevchenko <andy@kernel.org> Cc: Daniel Baluta <daniel.baluta@nxp.com> Link: https://lore.kernel.org/r/20220328194725.149150-4-marex@denx.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions