summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-des.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-27 12:32:35 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-10 13:13:39 +0100
commite78f91932d6005adc41e4244294fca66cdbf4d90 (patch)
treefaf32acc871ee448ef582b99fe7adc52b76ca0d6 /drivers/crypto/omap-des.c
parentcrypto: omap-aes - Use SIMPLE_DEV_PM_OPS macro (diff)
downloadlinux-e78f91932d6005adc41e4244294fca66cdbf4d90.tar.xz
linux-e78f91932d6005adc41e4244294fca66cdbf4d90.zip
crypto: omap-des - Use SIMPLE_DEV_PM_OPS macro
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-des.c')
-rw-r--r--drivers/crypto/omap-des.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c
index 006d9144485f..758919e23fdb 100644
--- a/drivers/crypto/omap-des.c
+++ b/drivers/crypto/omap-des.c
@@ -1196,9 +1196,7 @@ static int omap_des_resume(struct device *dev)
}
#endif
-static const struct dev_pm_ops omap_des_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(omap_des_suspend, omap_des_resume)
-};
+static SIMPLE_DEV_PM_OPS(omap_des_pm_ops, omap_des_suspend, omap_des_resume);
static struct platform_driver omap_des_driver = {
.probe = omap_des_probe,