From: Hans de Goede Date: Wed, 21 May 2014 13:39:54 +0000 (+0200) Subject: backlight: Add backlight device (un)registration notification X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~2^3~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc6919bd61315ea60baf95f3f9868aacfd1ace4;p=pandora-kernel.git 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 Acked-by: Jingoo Han Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed