diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-08-01 14:42:07 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-09-28 16:09:49 +0100 |
commit | e1efbc8e464c6ff098ca6fda9398159882e146b0 (patch) | |
tree | 2738229d41a0c918054b54d26209d6e5016ac0bb /scripts/gdb/linux/modules.py | |
parent | 4b74ec581a1c8d35f2902f47aaa181d71d17c902 (diff) |
mfd: intel_soc_pmic_crc: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etc
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.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220801114211.36267-6-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions