Messages in this thread | | | Date | Mon, 27 Jun 2022 14:05:29 +0100 | From | Lee Jones <> | Subject | Re: [PATCH v1 2/2] mfd: intel_soc_pmic_chtwc: Switch from __maybe_unused to pm_sleep_ptr() etc |
| |
On Thu, 16 Jun 2022, Andy Shevchenko wrote:
> 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> > --- > drivers/mfd/intel_soc_pmic_chtwc.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
-- Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
| |