hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/crypto/ccree/cc_pm.h
....@@ -1,5 +1,5 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
2
-/* Copyright (C) 2012-2018 ARM Limited or its affiliates. */
2
+/* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */
33
44 /* \file cc_pm.h
55 */
....@@ -15,44 +15,17 @@
1515
1616 extern const struct dev_pm_ops ccree_pm;
1717
18
-int cc_pm_init(struct cc_drvdata *drvdata);
19
-void cc_pm_go(struct cc_drvdata *drvdata);
20
-void cc_pm_fini(struct cc_drvdata *drvdata);
21
-int cc_pm_suspend(struct device *dev);
22
-int cc_pm_resume(struct device *dev);
2318 int cc_pm_get(struct device *dev);
24
-int cc_pm_put_suspend(struct device *dev);
19
+void cc_pm_put_suspend(struct device *dev);
2520
2621 #else
27
-
28
-static inline int cc_pm_init(struct cc_drvdata *drvdata)
29
-{
30
- return 0;
31
-}
32
-
33
-static inline void cc_pm_go(struct cc_drvdata *drvdata) {}
34
-
35
-static inline void cc_pm_fini(struct cc_drvdata *drvdata) {}
36
-
37
-static inline int cc_pm_suspend(struct device *dev)
38
-{
39
- return 0;
40
-}
41
-
42
-static inline int cc_pm_resume(struct device *dev)
43
-{
44
- return 0;
45
-}
4622
4723 static inline int cc_pm_get(struct device *dev)
4824 {
4925 return 0;
5026 }
5127
52
-static inline int cc_pm_put_suspend(struct device *dev)
53
-{
54
- return 0;
55
-}
28
+static inline void cc_pm_put_suspend(struct device *dev) {}
5629
5730 #endif
5831