aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/position
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-05-22 09:54:42 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-06-14 11:49:10 +0100
commit6dc855647c992d5e5f893a3680a893776efb2d9e (patch)
tree7d544074d7f685ce22ec5eb483c2c060335ce479 /drivers/iio/position
parentiio: light: tsl2563: pass iio device as i2c_client private data (diff)
downloadlinux-dev-6dc855647c992d5e5f893a3680a893776efb2d9e.tar.xz
linux-dev-6dc855647c992d5e5f893a3680a893776efb2d9e.zip
iio: light: iqs621: remove usage of iio_priv_to_dev()
We may want to get rid of the iio_priv_to_dev() helper. That's a bit uncertain at this point. The reason is that we will hide some of the members of the iio_dev structure (to prevent drivers from accessing them directly), and that will also mean hiding the implementation of the iio_priv_to_dev() helper inside the IIO core. Hiding the implementation of iio_priv_to_dev() implies that some fast-paths may not be fast anymore, so a general idea is to try to get rid of the iio_priv_to_dev() altogether. For this driver, removing iio_priv_to_dev() means keeping a reference on the state struct. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Acked-by: Jeff LaBundy <jeff@labundy.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/position')
0 files changed, 0 insertions, 0 deletions