diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-06-21 19:10:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-22 21:08:10 -0700 |
commit | 4bf8172772254a38741de139a355e36eabbb5cb8 (patch) | |
tree | 7777ff682c067c911ac208409e6601f37cdb7c43 /drivers/iio | |
parent | 70b3fd34a9b2e06b2702d691d406ef2ec1d2f0df (diff) |
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>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions