diff options
author | Uwe Kleine-König <[email protected]> | 2023-11-16 12:26:36 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2024-01-02 09:33:18 +0100 |
commit | ac99b129630efa14efe176e968045cde9d442e55 (patch) | |
tree | 440463c8e01d4ac6ce4c2387cdedf505ed3b07cd /scripts/generate_rust_analyzer.py | |
parent | 720f8db834a31009d8d11893278ca3f8072a575e (diff) |
thermal: amlogic: Use DEFINE_SIMPLE_DEV_PM_OPS for PM functions
This macro has the advantage over SIMPLE_DEV_PM_OPS that we don't have to
care about when the functions are actually used, so the corresponding
__maybe_unused can be dropped.
Also make use of pm_ptr() to discard all PM related stuff if CONFIG_PM
isn't enabled.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions