summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/industrialio-core.c
diff options
context:
space:
mode:
authorLars-Peter Clausen2012-02-20 19:37:05 +0100
committerGreg Kroah-Hartman2012-02-24 21:11:13 +0100
commit01788c533acbd63702146a2be975ae4007cfb2cf (patch)
tree06af3b838bb42e46ad124c1841398c5113f455ae /drivers/staging/iio/industrialio-core.c
parentstaging:iio:Documentation in kernel pull description. (diff)
downloadkernel-qcow2-linux-01788c533acbd63702146a2be975ae4007cfb2cf.tar.gz
kernel-qcow2-linux-01788c533acbd63702146a2be975ae4007cfb2cf.tar.xz
kernel-qcow2-linux-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 'drivers/staging/iio/industrialio-core.c')
0 files changed, 0 insertions, 0 deletions