commit | 05879b125afd274020faf2bb8c57e9304073ac31 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Jun 29 01:17:42 2022 +0300 |
committer | Lee Jones <lee@kernel.org> | Tue Jul 19 10:54:42 2022 +0100 |
tree | 4cd9542b99959222dfcb6aabff54c6bd216c9174 | |
parent | ba3ea04a2557ff21e57400c90453592060f718a6 [diff] |
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