Home
last modified time | relevance | path

Searched hist:"0 d596bb2ad0dbefc7c3e6072acb64b379888ee3d" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/
H A Dindustrialio-core.cdiff 0d596bb2ad0dbefc7c3e6072acb64b379888ee3d Mon Feb 15 11:40:40 CET 2021 Alexandru Ardelean <alexandru.ardelean@analog.com> 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>