Marek Vasut 6a954b9624 iio: adc: ti-ads1015: Make channel event_spec optional
Pass event_spec and num_event_specs to ADS1015_V_CHAN and ADS1015_V_DIFF_CHAN
macros, to make it possible to pass no event_spec at all for chips which have
no comparator and thus no events. 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-5-marex@denx.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-04-04 09:11:26 +01:00
..
2022-02-21 19:33:05 +00:00
2022-01-23 18:03:36 +00:00
2022-02-21 19:33:05 +00:00
2022-02-21 19:33:05 +00:00
2022-01-23 18:03:36 +00:00
2022-01-23 18:03:35 +00:00