From: Lars-Peter Clausen Date: Thu, 21 Jun 2012 17:10:59 +0000 (+0200) Subject: staging:iio:trigger: Use to_iio_trigger() instead of dev_get_drvdata() X-Git-Tag: v3.6-rc1~100^2~602 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bf8172772254a38741de139a355e36eabbb5cb8;p=pandora-kernel.git 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 Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed