[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170932982660.281458.3124950180863553573.b4-ty@collabora.com>
Date: Fri, 01 Mar 2024 22:50:26 +0100
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Sebastian Reichel <sre@...nel.org>,
"Ricardo B. Marliere" <ricardo@...liere.net>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] power: supply: core: make power_supply_class constant
On Fri, 01 Mar 2024 14:46:15 -0300, Ricardo B. Marliere wrote:
> Since commit 43a7206b0963 ("driver core: class: make class_register() take
> a const *"), the driver core allows for struct class to be in read-only
> memory, so move the power_supply_class structure to be declared at build
> time placing it into read-only memory, instead of having to be dynamically
> allocated at boot time.
>
>
> [...]
Applied, thanks!
[1/1] power: supply: core: make power_supply_class constant
commit: 71c2cc5cbf686c2397f43cbcb51a31589bdcee7b
Best regards,
--
Sebastian Reichel <sebastian.reichel@...labora.com>
Powered by blists - more mailing lists