projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea7b284
)
crypto: omap-des - Use SIMPLE_DEV_PM_OPS macro
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 27 Feb 2014 11:32:35 +0000
(20:32 +0900)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:13:39 +0000
(20:13 +0800)
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>
drivers/crypto/omap-des.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/omap-des.c
b/drivers/crypto/omap-des.c
index 006d9144485f3483fb2315eb8fcb230b9ac12a28..758919e23fdb423bcb1ea23c7e40c5620e2d6d3a 100644
(file)
--- 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,