Lars-Peter Clausen 01788c533a 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 <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-24 12:11:13 -08:00
..
2012-02-15 17:21:43 -08:00
2012-02-24 12:11:13 -08:00
2012-02-24 12:11:13 -08:00
2012-02-24 12:11:13 -08:00
2012-02-24 12:11:13 -08:00
2011-11-26 16:35:04 -08:00
2010-11-09 15:46:32 -08:00