Re: [PATCH v2 1/2] video: backlight: make backlight_class constant

From: Lee Jones
Date: Thu Mar 28 2024 - 08:08:35 EST


On Thu, 28 Mar 2024 12:59:06 +0100, Greg Kroah-Hartman 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 backlight_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/2] video: backlight: make backlight_class constant
commit: 6683414cff25dc5b6e7dfe9dadf42b718384c892
[2/2] video: backlight: lcd: make lcd_class constant
commit: d51564f749fe4e4efd570b0591f2d23696c90cc7

--
Lee Jones [李琼斯]