[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yxm59bk/kVw3eDcn@google.com>
Date: Thu, 8 Sep 2022 10:46:29 +0100
From: Lee Jones <lee@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, Andy Shevchenko <andy@...nel.org>
Subject: Re: [RESEND][PATCH v1 1/1] mfd: intel_soc_pmic_chtdc_ti: Switch from
__maybe_unused to pm_sleep_ptr() etc
On Tue, 06 Sep 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@...ux.intel.com>
> ---
> drivers/mfd/intel_soc_pmic_chtdc_ti.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists