]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge branch 'acpi-cleanup' into linux-next
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 29 Jul 2013 13:39:20 +0000 (15:39 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 29 Jul 2013 13:39:20 +0000 (15:39 +0200)
* acpi-cleanup: (21 commits)
  ACPI / dock: fix error return code in dock_add()
  ACPI / dock: Drop unnecessary local variable from dock_add()
  ACPI / dock / PCI: Drop ACPI dock notifier chain
  ACPI / dock: Do not check CONFIG_ACPI_DOCK_MODULE
  ACPI / dock: Do not leak memory on falilures to add a dock station
  ACPI: Drop ACPI bus notifier call chain
  ACPI / dock: Rework the handling of notifications
  ACPI / dock: Simplify dock_init_hotplug() and dock_release_hotplug()
  ACPI / dock: Walk list in reverse order during removal of devices
  ACPI / dock: Rework and simplify find_dock_devices()
  ACPI / dock: Drop the hp_lock mutex from struct dock_station
  ACPI: simplify acpiphp driver with new helper functions
  ACPI: simplify dock driver with new helper functions
  ACPI: Export acpi_(bay)|(dock)_match() from scan.c
  ACPI: introduce two helper functions for _EJ0 and _LCK
  ACPI: introduce helper function acpi_execute_simple_method()
  ACPI: introduce helper function acpi_has_method()
  ACPI / dock: simplify dock_create_acpi_device()
  ACPI / dock: mark initialization functions with __init
  ACPI / dock: drop redundant spin lock in dock station object
  ...

1  2 
drivers/acpi/scan.c
drivers/acpi/video.c
drivers/acpi/video_detect.c

Simple merge
index 0ec434d2586da29d65003aed0b7d9c7dd244944e,b862c7f7494197164387a614df9eb74562173515..8c6300bdbf5c7834852cbaf221bc4cf9173462f4
@@@ -904,13 -881,9 +891,12 @@@ static void acpi_video_device_find_cap(
                device->cap._BCQ = 1;
        }
  
-       if (ACPI_SUCCESS(acpi_get_handle(device->dev->handle, "_DDC", &h_dummy1))) {
+       if (acpi_has_method(device->dev->handle, "_DDC"))
                device->cap._DDC = 1;
-       }
  
 +      if (acpi_video_init_brightness(device))
 +              return;
 +
        if (acpi_video_backlight_support()) {
                struct backlight_properties props;
                struct pci_dev *pdev;
Simple merge