apple_bl: Add register/unregister functions
authorSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2012 19:41:21 +0000 (14:41 -0500)
committerMatthew Garrett <mjg@redhat.com>
Thu, 22 Mar 2012 13:31:55 +0000 (09:31 -0400)
commit83e72dd97a25a831ff270ce4437416943a1e4b36
tree9eeaaa019cc92527469d2976238c1443eadeab21
parentf11f999e989061952f1a27bd0c49645a46d13173
apple_bl: Add register/unregister functions

Add functions to allow other modules to enable or disable apple_bl. This
will be used by the gmux driver to disable apple_bl when the gmux is
present, as it is a better and more reliable option for brightness
control.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/video/backlight/apple_bl.c
include/linux/apple_bl.h [new file with mode: 0644]