summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-aes.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-27 20:31:38 +0900
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-10 20:13:38 +0800
commitea7b284398984d9934e12470267a72fd663ac145 (patch)
tree16d35b52218c87daaeaae0a04ed2c1bcfab9b627 /drivers/crypto/omap-aes.c
parent93b7f9c92840102da43aafc41dd943926826269e (diff)
downloadop-kernel-dev-ea7b284398984d9934e12470267a72fd663ac145.zip
op-kernel-dev-ea7b284398984d9934e12470267a72fd663ac145.tar.gz
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 'drivers/crypto/omap-aes.c')
-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 dde41f1d..cb98fa5 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,
OpenPOWER on IntegriCloud