Message ID | 20240424-video-backlight-lcd-ops-v2-19-1aaa82b07bc6@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | backlight: Constify lcd_ops | expand |
On Wed, Apr 24, 2024 at 08:33:45AM +0200, Krzysztof Kozlowski wrote: > 'struct lcd_ops' is not modified by core code. > > Suggested-by: Thomas Weißschuh <linux@weissschuh.net> > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Daniel.
On Wed, 24 Apr 2024, Krzysztof Kozlowski wrote: > 'struct lcd_ops' is not modified by core code. > > Suggested-by: Thomas Weißschuh <linux@weissschuh.net> > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> > > --- > > Patch making lcd_ops const in progress: > https://lore.kernel.org/r/20240414-video-backlight-lcd-ops-v1-0-9b37fcbf546a@kernel.org > > Cc: Lee Jones <lee@kernel.org> > Cc: Daniel Thompson <daniel.thompson@linaro.org> > Cc: Jingoo Han <jingoohan1@gmail.com> > Cc: linux-fbdev@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > scripts/const_structs.checkpatch | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch > index fa96cfd16e99..52e5bfb61fd0 100644 > --- a/scripts/const_structs.checkpatch > +++ b/scripts/const_structs.checkpatch > @@ -39,6 +39,7 @@ kgdb_arch > kgdb_io > kobj_type > kset_uevent_ops > +lcd_ops Acked-by: Lee Jones <lee@kernel.org> > lock_manager_operations > machine_desc > microcode_ops
diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch index fa96cfd16e99..52e5bfb61fd0 100644 --- a/scripts/const_structs.checkpatch +++ b/scripts/const_structs.checkpatch @@ -39,6 +39,7 @@ kgdb_arch kgdb_io kobj_type kset_uevent_ops +lcd_ops lock_manager_operations machine_desc microcode_ops
'struct lcd_ops' is not modified by core code. Suggested-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> --- Patch making lcd_ops const in progress: https://lore.kernel.org/r/20240414-video-backlight-lcd-ops-v1-0-9b37fcbf546a@kernel.org Cc: Lee Jones <lee@kernel.org> Cc: Daniel Thompson <daniel.thompson@linaro.org> Cc: Jingoo Han <jingoohan1@gmail.com> Cc: linux-fbdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- scripts/const_structs.checkpatch | 1 + 1 file changed, 1 insertion(+)