diff options
| author | Martin Kaiser <[email protected]> | 2023-11-12 17:52:41 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-11-17 19:16:29 +0800 |
| commit | 7c18e3c6b309aebc0fde38bda5ff30ea22c8a56c (patch) | |
| tree | a49a1daa5c598827ed71f8eafe36507d7a3be10e /tools/perf/scripts/python/bin | |
| parent | d57343022b71b9f41e731282dbe0baf0cff6ada8 (diff) | |
hwrng: virtio - remove #ifdef guards for PM functions
Use pm_sleep_ptr for the freeze and restore functions instead of putting
them under #ifdef CONFIG_PM_SLEEP. The resulting code is slightly simpler.
pm_sleep_ptr lets the compiler see the functions but also allows removing
them as unused code if !CONFIG_PM_SLEEP.
Signed-off-by: Martin Kaiser <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions