Re: [PATCH 03/16] gpio: bt8xx: Use modern PM macros
From: Michael Büsch
Date: Wed Aug 20 2025 - 13:31:14 EST
On Wed, 20 Aug 2025 23:40:24 +0800
Jisheng Zhang <jszhang@xxxxxxxxxx> wrote:
> Use the modern PM macros for the suspend and resume functions to be
> automatically dropped by the compiler when CONFIG_PM or
> CONFIG_PM_SLEEP are disabled, without having to use #ifdef guards.
>
> This has the advantage of always compiling these functions in,
> independently of any Kconfig option. Thanks to that, bugs and other
> regressions are subsequently easier to catch.
>
> Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxx>
Acked-by: Michael Büsch <m@xxxxxxx>
--
Michael Büsch
https://bues.ch/
Attachment:
pgpMqd3yAmW0J.pgp
Description: OpenPGP digital signature