summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-05-08 17:39:35 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-05-11 20:19:19 +0100
commitda7de29bb1716c96cab1566d845e434848604be4 (patch)
tree41fe70fcfbaa962c4278d3ac97e6e57184c9f5bd /tools/perf/scripts/python/exported-sql-viewer.py
parentdee2dabc0e4115b80945fe2c91603e634f4b4686 (diff)
staging: iio: ad5933: attach life-cycle of kfifo buffer to parent device and use managed calls throughout
This change makes the use of devm_iio_kfifo_allocate() to attach the life-cycle of the kfifo buffer to the parent (client->dev) object. This removes the need to explicitly free 'indio_dev->buffer' via iio_kfifo_free(), which is the main intent. Having done this, it is straight forward to move to devm_ calls throughout and drop the remove function. 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions