backlight: Separate backlight properties from backlight ops pointers
authorRichard Purdie <rpurdie@rpsys.net>
Sat, 10 Feb 2007 23:07:48 +0000 (23:07 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Tue, 20 Feb 2007 09:26:53 +0000 (09:26 +0000)
commit599a52d12629394236d785615808845823875868
tree4e2dfa3a25ce761be0ecc0490acabac553f77a67
parent321709c5994f952b78d567fd7083dbebbdc381b7
backlight: Separate backlight properties from backlight ops pointers

Per device data such as brightness belongs to the indivdual device
and should therefore be separate from the the backlight operation
function pointers. This patch splits the two types of data and
allows simplifcation of some code.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
24 files changed:
arch/powerpc/kernel/traps.c
arch/powerpc/platforms/powermac/backlight.c
drivers/acpi/asus_acpi.c
drivers/acpi/ibm_acpi.c
drivers/acpi/toshiba_acpi.c
drivers/acpi/video.c
drivers/macintosh/via-pmu-backlight.c
drivers/misc/asus-laptop.c
drivers/misc/msi-laptop.c
drivers/usb/misc/appledisplay.c
drivers/video/aty/aty128fb.c
drivers/video/aty/atyfb_base.c
drivers/video/aty/radeon_backlight.c
drivers/video/backlight/backlight.c
drivers/video/backlight/corgi_bl.c
drivers/video/backlight/hp680_bl.c
drivers/video/backlight/lcd.c
drivers/video/backlight/locomolcd.c
drivers/video/backlight/progear_bl.c
drivers/video/chipsfb.c
drivers/video/nvidia/nv_backlight.c
drivers/video/riva/fbdev.c
include/linux/backlight.h
include/linux/lcd.h