diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-29 01:17:42 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-07-19 12:54:42 +0300 |
commit | 05879b125afd274020faf2bb8c57e9304073ac31 (patch) | |
tree | 4cd9542b99959222dfcb6aabff54c6bd216c9174 /COPYING | |
parent | ba3ea04a2557ff21e57400c90453592060f718a6 (diff) | |
download | linux-05879b125afd274020faf2bb8c57e9304073ac31.tar.xz |
mfd: intel_soc_pmic_bxtwc: 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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220628221747.33956-6-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions