On 3/21/22 10:27, Andy Shevchenko wrote:
On Sun, Mar 20, 2022 at 8:14 PM Marek Vasut <marex@xxxxxxx> wrote:
Replace sysfs attributes with read_avail() callback. This also permits
removal of ads1115_info, since the scale attribute tables are now part
of chip data.
...
+static const int ads1015_fullscale_range[] = {
6144, 4096, 2048, 1024, 512, 256, 256, 256
Keep a comma at the end.
Also applies to the rest of the modified data structures below.
Why ? We don't expect these arrays to grow new values, if there is ever
some new ADC, it will likely have its own array.