aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-03-21 09:54:03 +0000
committerLee Jones <[email protected]>2025-04-10 09:39:13 +0000
commitdc2139c0aa3283e5749109641af1878ed7bf7371 (patch)
treeaaa0aefc0bb2bee94c34bde0ba187cef1e6c3da2 /rust/helpers/xarray.c
parentleds: backlight trigger: Move blank-state handling into helper (diff)
downloadkernel-dc2139c0aa3283e5749109641af1878ed7bf7371.tar.gz
kernel-dc2139c0aa3283e5749109641af1878ed7bf7371.zip
leds: backlight trigger: Replace fb events with a dedicated function call
Remove support for fb events from the led backlight trigger. Provide the helper ledtrig_backlight_blank() instead. Call it from fbdev to inform the trigger of changes to a display's blank state. Fbdev maintains a list of all installed notifiers. Instead of the fbdev notifiers, maintain an internal list of led backlight triggers. v3: - export ledtrig_backlight_blank() v2: - maintain global list of led backlight triggers (Lee) - avoid IS_REACHABLE() in source file (Lee) - notify on changes to blank state instead of display state - use lock guards - initialize led list and list mutex Signed-off-by: Thomas Zimmermann <[email protected]> Acked-by: Simona Vetter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions