Re: [PATCH v1 1/1] mfd: intel_soc_pmic_chtdc_ti: Switch from __maybe_unused to pm_sleep_ptr() etc
From: Andy Shevchenko
Date: Tue Aug 23 2022 - 13:07:24 EST
On Thu, Jun 16, 2022 at 08:12:34PM +0300, 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.
Any comments?
--
With Best Regards,
Andy Shevchenko