[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250820190842.4e3c07ec@barney>
Date: Wed, 20 Aug 2025 19:08:42 +0200
From: Michael Büsch <mb@...s.ch>
To: Jisheng Zhang <jszhang@...nel.org>
Cc: Doug Berger <opendmb@...il.com>, Florian Fainelli
<florian.fainelli@...adcom.com>, Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Michael Buesch <m@...s.ch>, Hoan Tran
<hoan@...amperecomputing.com>, Andy Shevchenko <andy@...nel.org>, Daniel
Palmer <daniel@...ngy.jp>, Romain Perier <romain.perier@...il.com>,
Grygorii Strashko <grygorii.strashko@...com>, Santosh Shilimkar
<ssantosh@...nel.org>, Kevin Hilman <khilman@...nel.org>, Robert Jarzmik
<robert.jarzmik@...e.fr>, Kunihiko Hayashi
<hayashi.kunihiko@...ionext.com>, Masami Hiramatsu <mhiramat@...nel.org>,
Shubhrajyoti Datta <shubhrajyoti.datta@....com>, Srinivas Neeli
<srinivas.neeli@....com>, Michal Simek <michal.simek@....com>, Broadcom
internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
linux-gpio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
linux@...tq-group.com
Subject: Re: [PATCH 03/16] gpio: bt8xx: Use modern PM macros
On Wed, 20 Aug 2025 23:40:24 +0800
Jisheng Zhang <jszhang@...nel.org> 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@...nel.org>
Acked-by: Michael Büsch <m@...s.ch>
--
Michael Büsch
https://bues.ch/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists