summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-27 15:32:35 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-10 16:13:39 +0400
commite78f91932d6005adc41e4244294fca66cdbf4d90 (patch)
treefaf32acc871ee448ef582b99fe7adc52b76ca0d6
parentea7b284398984d9934e12470267a72fd663ac145 (diff)
downloadlinux-e78f91932d6005adc41e4244294fca66cdbf4d90.tar.xz
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>
-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,