Skip to content
Commit c38180bf authored by George Stark's avatar George Stark Committed by Jonathan Cameron
Browse files

iio: adc: meson: add enum for iio channel numbers



Channels could be referenced in the driver code and using enum allows
to make it more robust.

Signed-off-by: default avatarGeorge Stark <GNStark@sberdevices.ru>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230714114010.293440-5-gnstark@sberdevices.ru
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 2b592ff4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment