diff options
| author | 2019-10-11 16:43:43 +0200 | |
|---|---|---|
| committer | 2019-10-15 21:11:03 +0100 | |
| commit | 7af5257d84275c9ef696e7757b54f210b7955d46 (patch) | |
| tree | 07485fd81040dcffa71e578f23b57a7d7491b2e0 /scripts/Makefile.thinlto | |
| parent | iio: adc: max1027: Reset the device at probe time (diff) | |
iio: adc: max1027: Prepare the introduction of different resolutions
Maxim's max1027/29/31 series returns the measured voltages with a
resolution of 10 bits. There is a very similar series, max1227/29/31
which works identically but uses a resolution of 12 bits. Prepare the
support for these chips by turning the 'depth' into a macro parameter
instead of hardcoding it everywhere. Also reorganize just a bit the
macros at the top to avoid repeating tens of lines when adding support
for a new chip.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
