Mohammed Billoo 0ba6014a23 iio: adc: ti-ads1015: Use correct pga upper bound
The devicetree binding and datasheets (for both the ADS1015 and
ADS1115) show that the PGA index should have a maximum value of 5,
and not 6.

Signed-off-by: Mohammed Billoo <mab.kernel@gmail.com>
Link: https://lore.kernel.org/r/20240106174836.1086714-1-mab.kernel@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-01-22 18:58:45 +00:00
..
2023-12-26 15:43:33 +00:00
2023-02-18 17:06:09 +00:00
2022-07-16 18:50:24 +01:00
2023-08-13 22:14:51 +02:00
2023-12-26 15:43:33 +00:00
2023-09-12 10:42:04 +01:00
2023-09-12 10:42:04 +01:00
2023-12-26 15:43:33 +00:00
2022-09-05 18:08:34 +01:00
2023-05-30 21:07:15 +01:00