diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-05-21 17:39:54 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-27 03:29:01 +0400 |
commit | 3cc6919bd61315ea60baf95f3f9868aacfd1ace4 (patch) | |
tree | e50ebe95421333e2c18a146fc449ead2b84cd0f4 /drivers/crypto/omap-sham.c | |
parent | bee564430feec1175ee64bcfd4913cacc519f817 (diff) | |
download | linux-3cc6919bd61315ea60baf95f3f9868aacfd1ace4.tar.xz |
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 <hdegoede@redhat.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/crypto/omap-sham.c')
0 files changed, 0 insertions, 0 deletions