summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/pcf50633-core.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-06-29 00:17:42 +0200
committerLee Jones <lee@kernel.org>2022-07-19 11:54:42 +0200
commit05879b125afd274020faf2bb8c57e9304073ac31 (patch)
tree4cd9542b99959222dfcb6aabff54c6bd216c9174 /drivers/mfd/pcf50633-core.c
parentmfd: intel_soc_pmic_bxtwc: Extend use of temporary variable for struct device (diff)
downloadlinux-05879b125afd274020faf2bb8c57e9304073ac31.tar.xz
linux-05879b125afd274020faf2bb8c57e9304073ac31.zip
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 'drivers/mfd/pcf50633-core.c')
0 files changed, 0 insertions, 0 deletions