aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMircea Caprioru <[email protected]>2019-06-25 11:11:26 +0300
committerJonathan Cameron <[email protected]>2019-06-26 21:24:21 +0100
commit1478a388f4baaa6da4767a0d7cf82a47826b9fc0 (patch)
tree85ba5b41c620765b9f79d9aa3d956fffcf484911 /tools/perf/util/scripting-engines/trace-event-python.c
parent0eaecea6e4878abbf1d3e8de3e4eeabc856133d4 (diff)
iio: adc: ad7124: Shift to dynamic allocation for channel configuration
This patch changes the channel configuration member of the device structure from a fixed size array to a dynamic allocated one with a size equal to the number of channels specified in the device tree. This will ensure a more flexibility for compatible devices. Ex. ad7124-4 - can have 4 differential or 8 pseudo-differential channels ad7124-8 - can have 8 differential or 16 pseudo-differential channels Also the device can suspport any other combination of differential and pseudo-differential channels base on the physical number of inputs available. Signed-off-by: Mircea Caprioru <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions