diff options
author | 2022-06-29 01:17:42 +0300 | |
---|---|---|
committer | 2022-07-19 10:54:42 +0100 | |
commit | 05879b125afd274020faf2bb8c57e9304073ac31 (patch) | |
tree | 4cd9542b99959222dfcb6aabff54c6bd216c9174 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mfd: intel_soc_pmic_bxtwc: Extend use of temporary variable for struct device (diff) | |
download | linux-dev-05879b125afd274020faf2bb8c57e9304073ac31.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions