summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-04-28 14:14:28 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-07 20:24:11 +0100
commit6ff0199a1df2f65d708a36aed944c3c11ba198f6 (patch)
tree936bff4fa20418a648fa0c0b3fc85a4bbcae153f /tools/perf/scripts/python/event_analyzing_sample.py
parenta07a4fe5ff460e99293c0d682421920d54e31d7f (diff)
iio: adc: ti_am335x_adc: alloc channels via devm_kcalloc()
This change attaches the life-cycle of the channels array to the parent device object that is attached to the IIO device. This way we can remove from the cleanup code, the explicit tiadc_channels_remove() which simply does a kfree() on the channels array. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions