2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 18:53:52 +08:00
linux-next/drivers/iio
Lars-Peter Clausen 971ff1db41 iio:trigger: Use to_iio_trigger() instead of dev_get_drvdata()
Use to_iio_trigger(dev) instead of dev_get_drvdata(dev). Both will return the
trigger which belongs to the device, but the the first on is a bit more
lightweight.

Since this is the last location where we used dev_get_drvdata() for retrieving
the trigger there is no need anymore to assign the the trigger to the devices
drvdata, so we can remove that as well.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-22 21:08:11 -07:00
..
adc iio:adc:at91: Use new triggered buffer setup helper 2012-06-18 17:26:09 -07:00
amplifiers iio: amplifiers: New driver for AD8366 Dual-Digital Variable Gain Amplifier 2012-05-14 13:15:39 -07:00
dac iio: dac: Convert ad5380 to devm_regmap_* APIs 2012-06-15 14:36:25 -07:00
frequency iio: ad9523: Fix argument type mismatch 2012-06-12 14:50:51 -07:00
light iio: add vcnl4000 combined ALS and proximity sensor 2012-06-20 16:12:46 -07:00
iio_core_trigger.h IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
iio_core.h IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
industrialio-buffer.c iio: iio_buffer_register: Skip channels with negative scan index 2012-06-18 17:26:09 -07:00
industrialio-core.c Merge branch 'staging-linus' into staging-next 2012-06-13 16:57:09 -07:00
industrialio-event.c iio: Use dev_to_iio_dev() 2012-05-14 13:37:45 -07:00
industrialio-trigger.c iio:trigger: Use to_iio_trigger() instead of dev_get_drvdata() 2012-06-22 21:08:11 -07:00
industrialio-triggered-buffer.c iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
inkern.c iio:inkern: Use iio_device_{get,put} 2012-06-04 21:21:29 -07:00
Kconfig iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
kfifo_buf.c IIO: Move the core files to drivers/iio 2012-04-25 11:11:38 -07:00
Makefile iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00