summaryrefslogtreecommitdiffstats
path: root/tools/accounting
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-06-16 19:10:09 +0200
committerLee Jones <lee@kernel.org>2022-07-19 11:54:40 +0200
commit1074c4252fe37f5a0104e3528a0e57bd32794fff (patch)
tree4a350688604aef1cd4e0549d0048a0ec94cdab41 /tools/accounting
parentmfd: intel_soc_pmic_chtwc: Use dev_err_probe() (diff)
downloadlinux-1074c4252fe37f5a0104e3528a0e57bd32794fff.tar.xz
linux-1074c4252fe37f5a0104e3528a0e57bd32794fff.zip
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/accounting')
0 files changed, 0 insertions, 0 deletions