kernel_optimize_test/drivers/iio/proximity
Alexandru Ardelean 1ecca8a9a4 iio: proximity: ping: pass reference to IIO device as param to ping_read()
Since there will be some changes to how iio_priv_to_dev() is implemented,
it could be that the helper becomes a bit slower, as it will be hidden away
in the IIO core.

But even without that rework, this looks like it can pass the 'indio_dev'
object to ping_read() and obtain the state struct via iio_priv() which is a
preferred practice than going back-n-forth (getting the state-struct, then
using iio_priv_to_dev() to get the indio_dev object back).

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-05-21 19:39:25 +01:00
..
as3935.c iio: as3935: Drop GPIO includes 2019-12-15 11:42:15 +00:00
isl29501.c
Kconfig iio: proximity: Add driver support for vcnl3020 proximity sensor 2020-05-21 19:12:42 +01:00
Makefile iio: proximity: Add driver support for vcnl3020 proximity sensor 2020-05-21 19:12:42 +01:00
mb1232.c
ping.c iio: proximity: ping: pass reference to IIO device as param to ping_read() 2020-05-21 19:39:25 +01:00
pulsedlight-lidar-lite-v2.c iio: proximity: pulsedlight v2: Tidy up an endian issue 2019-10-18 19:57:47 +01:00
rfd77402.c
srf04.c iio: srf04: add power management feature 2020-02-14 12:08:23 +00:00
srf08.c
sx9310.c iio: Add SEMTECH SX9310/9311 sensor driver 2020-03-21 10:28:20 +00:00
sx9500.c iio: proximity: sx9500: fix iio_triggered_buffer_{predisable,postenable} positions 2019-10-07 21:31:19 +01:00
vcnl3020.c iio: proximity: Add driver support for vcnl3020 proximity sensor 2020-05-21 19:12:42 +01:00
vl53l0x-i2c.c