summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-04-24 18:22:43 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-05-03 11:47:21 +0300
commitff3f7e049aef9202deeb2c67cfe7da819846dba1 (patch)
tree790605f79ae3e6eb415d1c9b23e360c5b3c3fd27 /kernel
parent256d4b83c0760de01d6192c372b068e7ecb376db (diff)
downloadlinux-ff3f7e049aef9202deeb2c67cfe7da819846dba1.tar.xz
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 <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions