)]}'
{
  "commit": "0090def6c37c8ea29508a435e581f2ef26fea10f",
  "tree": "c8790571fb6cfe5ce8890706b5b44aed8005e900",
  "parents": [
    "3ebc81b8937d2bc1d0d0064bed29434dfce490aa"
  ],
  "author": {
    "name": "Lin Ming",
    "email": "ming.m.lin@intel.com",
    "time": "Thu Mar 29 14:09:39 2012 +0800"
  },
  "committer": {
    "name": "Len Brown",
    "email": "len.brown@intel.com",
    "time": "Fri Mar 30 01:47:20 2012 -0400"
  },
  "message": "ACPI: Add interface to register/unregister device to/from power resources\n\nDevices may share same list of power resources in _PR0, for example\n\nDevice(Dev0)\n{\n\tName (_PR0, Package (0x01)\n\t{\n\t\tP0PR,\n\t\tP1PR\n\t})\n}\n\nDevice(Dev1)\n{\n\tName (_PR0, Package (0x01)\n\t{\n\t\tP0PR,\n\t\tP1PR\n\t}\n}\n\nAssume Dev0 and Dev1 were runtime suspended.\nThen Dev0 is resumed first and it goes into D0 state.\nBut Dev1 is left in D0_Uninitialised state.\n\nThis is wrong. In this case, Dev1 must be resumed too.\n\nIn order to hand this case, each power resource maintains a list of\ndevices which relies on it.\n\nWhen power resource is ON, it will check if the devices on its list\ncan be resumed. The device can only be resumed when all the power\nresouces of its _PR0 are ON.\n\nSigned-off-by: Lin Ming \u003cming.m.lin@intel.com\u003e\nSigned-off-by: Len Brown \u003clen.brown@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0d681fb7428b280b6fe2387befdda17187696a6b",
      "old_mode": 33188,
      "old_path": "drivers/acpi/power.c",
      "new_id": "7049a7d27c4f8bbd80991be1a633616474c0e2f4",
      "new_mode": 33188,
      "new_path": "drivers/acpi/power.c"
    },
    {
      "type": "modify",
      "old_id": "6cd5b6403a7b9f37eac4317807c97003c79cd9ba",
      "old_mode": 33188,
      "old_path": "include/acpi/acpi_bus.h",
      "new_id": "e168fffe1db5c4df1c1043d82ffa5df271b38d88",
      "new_mode": 33188,
      "new_path": "include/acpi/acpi_bus.h"
    }
  ]
}
