Merge branch 'acpi-video'
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Aug 2013 23:40:40 +0000 (01:40 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Aug 2013 23:40:40 +0000 (01:40 +0200)
* acpi-video:
  ACPI: blacklist win8 OSI for buggy laptops
  ACPI: blacklist win8 OSI for ASUS Zenbook Prime UX31A
  ACPI / video: drop unused fields from struct acpi_video_brightness_flags
  ACPI / video: remove unnecessary type casting
  ACPI / video: trivial style cleanups
  ACPI / video: trivial costmetic cleanups

Conflicts:
drivers/acpi/video.c

1  2 
drivers/acpi/video.c

index c86fc0c70ff6f82b19d00e610966b20b25ee8927,159c935eaac56daec37a86658ac16c3566b15d40..aebcf6355df467e3c394c00fa5c48731e42cc18d
@@@ -900,12 -904,9 +891,12 @@@ static void acpi_video_device_find_cap(
                acpi_handle acpi_parent;
                struct device *parent = NULL;
                int result;
-               static int count = 0;
+               static int count;
                char *name;
  
 +              result = acpi_video_init_brightness(device);
 +              if (result)
 +                      return;
                name = kasprintf(GFP_KERNEL, "acpi_video%d", count);
                if (!name)
                        return;