diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-21 10:54:01 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-04-10 10:39:10 +0100 |
commit | bc70cc84f5a2ebfd7e7112e9b8837e0c7954fc65 (patch) | |
tree | 4ad452285b4e9c85a4515435eb8cbaad6e0aba40 /scripts/lib/kdoc/kdoc_files.py | |
parent | e98696cea7e289447a5d2328546b947629301616 (diff) |
backlight: lcd: Replace fb events with a dedicated function call
Remove support for fb events from the lcd subsystem. Provide the
helper lcd_notify_blank_all() instead. In fbdev, call
lcd_notify_blank_all() to inform the lcd subsystem of changes
to a display's blank state.
Fbdev maintains a list of all installed notifiers. Instead of fbdev
notifiers, maintain an internal list of lcd devices.
v3:
- export lcd_notify_mode_change_all() (kernel test robot)
v2:
- maintain global list of lcd devices
- avoid IS_REACHABLE() in source file
- use lock guards
- initialize lcd list and list mutex
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Simona Vetter <simona.vetter@ffwll.ch>
Reviewed-by: "Daniel Thompson (RISCstar)" <danielt@kernel.org>
Link: https://lore.kernel.org/r/20250321095517.313713-9-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions