platform-drivers-x86: set backlight type to BACKLIGHT_PLATFORM
authorAxel Lin <axel.lin@gmail.com>
Wed, 29 Jun 2011 03:43:30 +0000 (11:43 +0800)
committerMatthew Garrett <mjg@redhat.com>
Thu, 7 Jul 2011 15:27:17 +0000 (11:27 -0400)
commit60cfa098dc60a9988e18d0bbab735e10c744e6fe
tree4ae8cdfae16d008adba2579f96f4ffc8e051647e
parenta50245af782ea85b1d5ad23e1015e0ac52996b27
platform-drivers-x86: set backlight type to BACKLIGHT_PLATFORM

Some newly added drivers do not set backlight type, as a result
/sys/class/backlight/<backlight>/type shows incorrect backlight type.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Corentin Chary <corentin.chary@gmail.com>
Cc: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-wmi.c
drivers/platform/x86/intel_oaktrail.c