iio:trigger: Use dev_{set,get}_drvdata for private data management
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Mar 2013 08:58:00 +0000 (08:58 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 25 Mar 2013 21:06:10 +0000 (21:06 +0000)
commit5034bfc976928b447cb6decd311d35161107a72f
treebfc4181c8d2c41449fd9e3a5becd1e15c245bae6
parent1e9663c62b32f695af37fec4afc473b59f5ca9b4
iio:trigger: Use dev_{set,get}_drvdata for private data management

Use dev_{set,get}_drvdata for managing private data attached to a trigger
instead of using a custom field in the iio_trigger struct.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/Documentation/trigger.txt
include/linux/iio/trigger.h