summaryrefslogtreecommitdiff
path: root/tools/iio
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2021-02-15 12:40:40 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-11 20:47:06 +0000
commit0d596bb2ad0dbefc7c3e6072acb64b379888ee3d (patch)
treeb45994369f11b52367620c1516e589168609e0b4 /tools/iio
parentf73f7f4da581875f9b1f2fb8ebd1ab15ed634488 (diff)
iio: core: rename 'dev' -> 'indio_dev' in iio_device_alloc()
The 'dev' variable name usually refers to 'struct device' types. However in iio_device_alloc() this was used for the 'struct iio_dev' type, which was sometimes causing minor confusions. This change renames the variable to 'indio_dev', which is the usual name used around IIO for 'struct iio_dev' type objects. It makes grepping a bit easier as well. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20210215104043.91251-22-alexandru.ardelean@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions