diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-16 20:10:09 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-07-19 10:54:40 +0100 |
commit | 1074c4252fe37f5a0104e3528a0e57bd32794fff (patch) | |
tree | 4a350688604aef1cd4e0549d0048a0ec94cdab41 /tools/perf/scripts/python/syscall-counts.py | |
parent | 352de78076d005c7bca1e910774977b2f9a33e42 (diff) |
mfd: intel_soc_pmic_chtwc: Switch from __maybe_unused 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 heavier for builds
than the use of __maybe_unused attributes.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220616171009.43524-2-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions