diff options
author | Thomas Zimmermann <[email protected]> | 2024-03-05 17:22:43 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-03-28 10:09:06 +0000 |
commit | 0a4be7263749945a3882f7a0e2e5b1c45c31064e (patch) | |
tree | 76787247220793a2de23ab1c7d15fed981533f35 /tools/perf/util/trace-event-scripting.c | |
parent | 7929446702295f7e336c13b39302589070f11560 (diff) |
backlight: Add controls_device callback to struct backlight_ops
Replace check_fb with controls_device in struct backlight_ops. The
new callback interface takes a Linux device instead of a framebuffer.
Resolves one of the dependencies of backlight.h on fb.h.
The few drivers that had custom implementations of check_fb can easily
use the framebuffer's Linux device instead. Update them accordingly.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions