Commit ccad360
PM / devfreq: exynos: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
This macro has the advantage over SET_SYSTEM_SLEEP_PM_OPS that we don't
have to care about when the functions are actually used.
Also make use of pm_sleep_ptr() to discard all PM_SLEEP related
stuff if CONFIG_PM_SLEEP isn't enabled.
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Anand Moon <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>1 parent 8eba5b6 commit ccad360
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
471 | 470 | | |
472 | 471 | | |
473 | 472 | | |
| |||
495 | 494 | | |
496 | 495 | | |
497 | 496 | | |
498 | | - | |
499 | 497 | | |
500 | | - | |
501 | | - | |
502 | | - | |
| 498 | + | |
| 499 | + | |
503 | 500 | | |
504 | 501 | | |
505 | 502 | | |
| |||
512 | 509 | | |
513 | 510 | | |
514 | 511 | | |
515 | | - | |
| 512 | + | |
516 | 513 | | |
517 | 514 | | |
518 | 515 | | |
| |||
0 commit comments