From: Lars-Peter Clausen Date: Mon, 20 Feb 2012 18:37:05 +0000 (+0100) Subject: staging:iio: Use dev_pm_ops X-Git-Tag: v3.4-rc1~186^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01788c533acbd63702146a2be975ae4007cfb2cf;p=pandora-kernel.git staging:iio: Use dev_pm_ops Use dev_pm_ops instead of legacy suspend/resume callbacks for IIO drivers. Note that this patch introduces a few new #ifdef CONFIG_PM_SLEEP around the suspend and resume callbacks to avoid warnings of unused functions if CONFIG_PM_SLEEP is not defined. Signed-off-by: Lars-Peter Clausen Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed