Re: [PATCH] power: supply: core: make power_supply_class constant

From: Sebastian Reichel
Date: Fri Mar 01 2024 - 16:50:37 EST



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@xxxxxxxxxxxxx>