aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-aes.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-27 06:31:38 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-10 08:13:38 -0400
commitea7b284398984d9934e12470267a72fd663ac145 (patch)
tree16d35b52218c87daaeaae0a04ed2c1bcfab9b627 /drivers/crypto/omap-aes.c
parent93b7f9c92840102da43aafc41dd943926826269e (diff)
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 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)
1307} 1307}
1308#endif 1308#endif
1309 1309
1310static const struct dev_pm_ops omap_aes_pm_ops = { 1310static SIMPLE_DEV_PM_OPS(omap_aes_pm_ops, omap_aes_suspend, omap_aes_resume);
1311 SET_SYSTEM_SLEEP_PM_OPS(omap_aes_suspend, omap_aes_resume)
1312};
1313 1311
1314static struct platform_driver omap_aes_driver = { 1312static struct platform_driver omap_aes_driver = {
1315 .probe = omap_aes_probe, 1313 .probe = omap_aes_probe,