diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-21 10:53:59 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-04-10 10:39:03 +0100 |
commit | b01beb2f1f6bcda17634a5b529865ffc5a9b795f (patch) | |
tree | 451b735697c8a866e128805729ce2b2efc7f7963 /scripts/lib/kdoc/kdoc_files.py | |
parent | 4bfb77f3381627640e97e0e423c93a2ea93e7de7 (diff) |
backlight: Replace fb events with a dedicated function call
Remove support for fb events from backlight subsystem. Provide the
helper backlight_notify_blank_all() instead. Also export the existing
helper backlight_notify_blank() to update a single backlight device.
In fbdev, call either helper to inform the backlight subsystem of
changes to a display's blank state. If the framebuffer device has a
specific backlight, only update this one; otherwise update all.
v4:
- protect blacklight declarations with IS_REACHABLE() (kernel test robot)
v3:
- declare empty fb_bl_notify_blank() as static inline (kernel test robot)
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-7-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