aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2014-05-21 15:39:54 +0200
committerRafael J. Wysocki <[email protected]>2014-05-27 01:29:01 +0200
commit3cc6919bd61315ea60baf95f3f9868aacfd1ace4 (patch)
treee50ebe95421333e2c18a146fc449ead2b84cd0f4 /tools/perf/util/trace-event-scripting.c
parentbee564430feec1175ee64bcfd4913cacc519f817 (diff)
backlight: Add backlight device (un)registration notification
Some firmware drivers, ie acpi-video want to get themselves out of the way (in some cases) when their also is a raw backlight device available. Due to module loading ordering being unknown, acpi-video cannot be certain that the backlight_device_registered(BACKLIGHT_RAW) it does for this is the final verdict wrt there being a BACKLIGHT_RAW device. By adding notification acpi-video can listen for backlight devices showing up after it has loaded, and unregister its backlight device if desired. Signed-off-by: Hans de Goede <[email protected]> Acked-by: Jingoo Han <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions