aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2020-04-24 18:22:43 +0300
committerJonathan Cameron <[email protected]>2020-05-03 09:47:21 +0100
commitff3f7e049aef9202deeb2c67cfe7da819846dba1 (patch)
tree790605f79ae3e6eb415d1c9b23e360c5b3c3fd27 /tools/perf/scripts/python
parent256d4b83c0760de01d6192c372b068e7ecb376db (diff)
iio: buffer: extend short-hand use for 'indio_dev->buffer'
This change is both cosmetic and a prequel to adding support for attaching multiple buffers per IIO device. The IIO buffer sysfs attrs are mostly designed to support only one attached buffer, and in order to support more, we need to centralize [in each attr function] the buffer which is being accessed. This also makes it a bit more uniform, as in some functions there is a short-hand 'buffer' variable and at the same time the 'indio_dev->buffer' is still access directly. Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions