diff options
| author | Raphael Gallais-Pou <[email protected]> | 2024-07-16 17:34:51 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2024-09-02 10:43:20 +0000 |
| commit | 27fec3cc9ee42fcf21f4527d60dbc1f824e592b1 (patch) | |
| tree | 245f2bd9f76bee12cfb2da3b9327297836385887 /security/selinux/hooks.c | |
| parent | dt-bindings: thermal: amlogic,thermal: add optional power-domains (diff) | |
| download | kernel-27fec3cc9ee42fcf21f4527d60dbc1f824e592b1.tar.gz kernel-27fec3cc9ee42fcf21f4527d60dbc1f824e592b1.zip | |
thermal/drivers/st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
Letting the compiler remove these functions when the kernel is built
without CONFIG_PM_SLEEP support is simpler and less error prone than the
use of #ifdef based kernel configuration guards.
Remove those guards on every ST thermal related drivers.
Reviewed-by: Patrice Chotard <[email protected]>
Signed-off-by: Raphael Gallais-Pou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
