What's the 'right' way to find things in the IO tree?
E.g. I want to be able to read the raw analogue inputs by reading the
'files' at:-
/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0/in_voltage0_raw
/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0/in_voltage1_raw
/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0/in_voltage2_raw
/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0/in_voltage3_raw
/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0/in_voltage4_raw
/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0/in_voltage5_raw
/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0/in_voltage6_raw
/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0/in_voltage7_raw
A lot of examples and code I have seen simply use the 'find' command
to search for filenames matching a pattern, for the ADC values above
one could do:-
find /sys -name 'in_voltage?_raw'
However it feels as if there should be a more 'logical' way, is there
one and is it documented anywhere?