diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-09-06 16:42:56 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-09-28 18:17:41 +0300 |
commit | 1801c448d48405b1bfe7093f2ddc5461962521fa (patch) | |
tree | a280765f430efae69700c6e109440f3b68c5aada /Documentation/devicetree | |
parent | 3064c115bcb5165793366d348a7efc70d32b82e5 (diff) |
mfd: intel_soc_pmic_chtdc_ti: 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>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220906134256.14293-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions