diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-02-20 19:37:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-24 12:11:13 -0800 |
commit | 01788c533acbd63702146a2be975ae4007cfb2cf (patch) | |
tree | 06af3b838bb42e46ad124c1841398c5113f455ae /tools/lguest | |
parent | 4eeb3335bbfb4e9d6a7995f283deeecb06e07aea (diff) | |
download | linux-3.10-01788c533acbd63702146a2be975ae4007cfb2cf.tar.gz linux-3.10-01788c533acbd63702146a2be975ae4007cfb2cf.tar.bz2 linux-3.10-01788c533acbd63702146a2be975ae4007cfb2cf.zip |
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>
Diffstat (limited to 'tools/lguest')
0 files changed, 0 insertions, 0 deletions