)]}'
{
  "commit": "97d9a9e9f5ee68f20005ca5aa77c6b684e7cace8",
  "tree": "37961b9dd711862f0b181bb6890f47fba3f58345",
  "parents": [
    "25eed40720fc9005c63a1f436e5f8a78836c26ff"
  ],
  "author": {
    "name": "Rafael J. Wysocki",
    "email": "rjw@sisk.pl",
    "time": "Thu Nov 25 00:10:02 2010 +0100"
  },
  "committer": {
    "name": "Len Brown",
    "email": "len.brown@intel.com",
    "time": "Wed Jan 12 04:48:45 2011 -0500"
  },
  "message": "ACPI / PM: Register acpi_power_driver early\n\nThe ACPI device driver used for handling power resources,\nacpi_power_driver, creates a struct acpi_power_resource object for\neach ACPI device representing a power resource.  These objects are\nthen used when setting and reading the power states of devices using\nthe corresponding power resources.  Unfortunately, acpi_power_driver\nis registered after acpi_scan_init() that may add devices using the\npower resources before acpi_power_driver has a chance to create\nstruct acpi_power_resource objects for them (specifically, the power\nresources may be referred to during the scanning process through\nacpi_bus_get_power() before they have been initialized).\n\nAs the first step towards fixing this issue, move the registration\nof acpi_power_driver into acpi_scan_init() so that power resource\ndevices can be initialized by it as soon as they have been found in\nthe namespace.\n\nSigned-off-by: Rafael J. Wysocki \u003crjw@sisk.pl\u003e\nSigned-off-by: Len Brown \u003clen.brown@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "19decee72e923603ccadfd2f682472468ee1cdf6",
      "old_mode": 33188,
      "old_path": "drivers/acpi/bus.c",
      "new_id": "47864013c0df783fb3ed8e2c718f2abe95b905ac",
      "new_mode": 33188,
      "new_path": "drivers/acpi/bus.c"
    },
    {
      "type": "modify",
      "old_id": "ef8e659771e107eacf9068563f060957bf6b4614",
      "old_mode": 33188,
      "old_path": "drivers/acpi/scan.c",
      "new_id": "2951a27303cb7c454f9fc755ec7397df0ca3fb18",
      "new_mode": 33188,
      "new_path": "drivers/acpi/scan.c"
    }
  ]
}
