dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/staging/iio/trigger
Lars-Peter Clausen 4bf8172772 staging: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. Also this will eventually free up the drvdata pointer of the device
for driver specific data.

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:10 -07:00
..
Kconfig iio: trigger: iio-trig-bfin-timer: select missing dependency 2011-05-12 09:26:57 -07:00
Makefile staging: IIO: trigger: New Blackfin specific trigger driver iio-trig-bfin-timer 2011-02-23 14:40:04 -08:00
iio-trig-bfin-timer.c staging:iio:trigger: Use to_iio_trigger() instead of dev_get_drvdata() 2012-06-22 21:08:10 -07:00
iio-trig-gpio.c staging:iio: Streamline API function naming 2012-04-29 21:23:49 -04:00
iio-trig-periodic-rtc.c staging:iio:trigger: Use to_iio_trigger() instead of dev_get_drvdata() 2012-06-22 21:08:10 -07:00
iio-trig-sysfs.c staging:iio:trigger: Use to_iio_trigger() instead of dev_get_drvdata() 2012-06-22 21:08:10 -07:00