Thread (4 messages) 4 messages, 2 authors, 2024-03-28

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

From: Lee Jones <lee@kernel.org>
Date: 2024-03-28 12:08:30
Also in: dri-devel, lkml

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 [李琼斯]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help