diff options
| author | 2020-04-28 14:14:28 +0300 | |
|---|---|---|
| committer | 2020-07-07 20:24:11 +0100 | |
| commit | 6ff0199a1df2f65d708a36aed944c3c11ba198f6 (patch) | |
| tree | 936bff4fa20418a648fa0c0b3fc85a4bbcae153f /tools/perf/scripts/python/stackcollapse.py | |
| parent | iio:adc:ingenic: drop of_match_ptr protection and include mod_devicetable.h (diff) | |
| download | linux-dev-6ff0199a1df2f65d708a36aed944c3c11ba198f6.tar.xz linux-dev-6ff0199a1df2f65d708a36aed944c3c11ba198f6.zip | |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
