Merge branches 'battery', 'bugzilla-14667', 'bugzilla-15096', 'bugzilla-15480', ...
authorLen Brown <len.brown@intel.com>
Tue, 6 Apr 2010 21:06:22 +0000 (17:06 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 6 Apr 2010 21:06:22 +0000 (17:06 -0400)
1  2  3  4  5  6  7  8  9  10 
drivers/acpi/battery.c
drivers/acpi/dock.c
drivers/acpi/ec.c
drivers/acpi/osl.c
drivers/acpi/scan.c
drivers/acpi/video.c
drivers/pnp/pnpacpi/rsparser.c

Simple merge
Simple merge
Simple merge
Simple merge
@@@@@@@@@@@ -1118,8 -1082,6 -1119,8 -1118,8 -1082,6 -1112,14 -1082,6 -1118,8 -1118,8 -1118,8 +1113,14 @@@@@@@@@@@ static void acpi_device_set_id(struct a
                                acpi_add_id(device, ACPI_BAY_HID);
                        else if (ACPI_SUCCESS(acpi_dock_match(device)))
                                acpi_add_id(device, ACPI_DOCK_HID);
 +  + +                 else if (!acpi_ibm_smbus_match(device))
 +  + +                         acpi_add_id(device, ACPI_SMBUS_IBM_HID);
+++++ ++++              else if (!acpi_device_hid(device) &&
+++++ ++++                       ACPI_IS_ROOT_DEVICE(device->parent)) {
+++++ ++++                      acpi_add_id(device, ACPI_BUS_HID); /* \_SB, LNXSYBUS */
+++++ ++++                      strcpy(device->pnp.device_name, ACPI_BUS_DEVICE_NAME);
+++++ ++++                      strcpy(device->pnp.device_class, ACPI_BUS_CLASS);
+++++ ++++              }
          
                        break;
                case ACPI_BUS_TYPE_POWER:
@@@@@@@@@@@ -1019,7 -1015,8 -1020,14 -1019,7 -1019,7 -1019,7 -1019,7 -1019,7 -1019,7 -1019,7 +1020,14 @@@@@@@@@@@ static void acpi_video_device_find_cap(
                        kfree(name);
                        if (IS_ERR(device->backlight))
                                return;
 -                      device->backlight->props.max_brightness = device->brightness->count-3;
 +        
++ +++++++              /*
++ +++++++               * Save current brightness level in case we have to restore it
++ +++++++               * before acpi_video_device_lcd_set_level() is called next time.
++ +++++++               */
++ +++++++              device->backlight->props.brightness =
++ +++++++                              acpi_video_get_brightness(device->backlight);
+  +++++++
                        result = sysfs_create_link(&device->backlight->dev.kobj,
                                                   &device->dev->dev.kobj, "device");
                        if (result)
Simple merge