Re: [PATCH v2 1/2] video: backlight: make backlight_class constant
From: Lee Jones <lee@kernel.org>
Date: 2024-03-28 12:09:12
Also in:
dri-devel, lkml
From: Lee Jones <lee@kernel.org>
Date: 2024-03-28 12:09:12
Also in:
dri-devel, lkml
On Thu, 28 Mar 2024, Lee Jones wrote:
On Thu, 28 Mar 2024 12:59:06 +0100, Greg Kroah-Hartman wrote:quoted
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
I also added Daniel's r/b. -- Lee Jones [李琼斯]