backlight: hx8357: Constify lcd_ops
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 24 Apr 2024 06:33:30 +0000 (08:33 +0200)
committerLee Jones <lee@kernel.org>
Fri, 3 May 2024 09:44:59 +0000 (10:44 +0100)
commit4c00ff8ebf0cdd8998036f90ad71e254c1f218e8
treec92f2d6d28a9d885c1f1dbb01ee8410e4daf5eaf
parent94194e314ec81c461b014621f96962cac82ffcc1
backlight: hx8357: Constify lcd_ops

'struct lcd_ops' is not modified by core backlight code, so it can be
made const for increased code safety.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240424-video-backlight-lcd-ops-v2-4-1aaa82b07bc6@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/hx8357.c