summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-aes.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-27 12:31:38 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-10 13:13:38 +0100
commitea7b284398984d9934e12470267a72fd663ac145 (patch)
tree16d35b52218c87daaeaae0a04ed2c1bcfab9b627 /drivers/crypto/omap-aes.c
parenthwrng: timeriomem - Use devm_*() functions (diff)
downloadlinux-ea7b284398984d9934e12470267a72fd663ac145.tar.xz
linux-ea7b284398984d9934e12470267a72fd663ac145.zip
crypto: omap-aes - 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> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--drivers/crypto/omap-aes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index dde41f1df608..cb98fa54573d 100644
--- a/drivers/crypto/omap-aes.c
+++ b/drivers/crypto/omap-aes.c
@@ -1307,9 +1307,7 @@ static int omap_aes_resume(struct device *dev)
}
#endif
-static const struct dev_pm_ops omap_aes_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(omap_aes_suspend, omap_aes_resume)
-};
+static SIMPLE_DEV_PM_OPS(omap_aes_pm_ops, omap_aes_suspend, omap_aes_resume);
static struct platform_driver omap_aes_driver = {
.probe = omap_aes_probe,