On Sun, Apr 14, 2024 at 06:35:59PM +0200, Krzysztof Kozlowski wrote:
> 'struct lcd_ops' passed in lcd_device_register() is not modified by core
> backlight code, so it can be made const for code safety. This allows
> drivers to also define the structure as const.
>
> Signed-off-by: Krzysztof Kozlo
'struct lcd_ops' passed in lcd_device_register() is not modified by core
backlight code, so it can be made const for code safety. This allows
drivers to also define the structure as const.
Signed-off-by: Krzysztof Kozlowski
---
drivers/video/backlight/lcd.c | 4 ++--
include/linux/lcd.h