Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mfd: intel_soc_pmic_crc: Switch from CONFIG_PM_SLEEP guards to pm_sle…
…ep_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
- Loading branch information