diff options
author | Raphael Gallais-Pou <[email protected]> | 2024-07-16 19:34:51 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2024-09-02 12:43:20 +0200 |
commit | 27fec3cc9ee42fcf21f4527d60dbc1f824e592b1 (patch) | |
tree | 245f2bd9f76bee12cfb2da3b9327297836385887 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 77545bdfe4bf11685fa0d75b3639fd443c481988 (diff) |
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 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions