)]}'
{
  "commit": "cb8f51bdadb7969139c2e39c2defd4cde98c1ea8",
  "tree": "a6d6e20878460d50b8f61d5fe3237818c54065eb",
  "parents": [
    "4681b17154b3fd81f898802262985f662344e6ed"
  ],
  "author": {
    "name": "Rafael J. Wysocki",
    "email": "rjw@sisk.pl",
    "time": "Tue Feb 08 23:26:02 2011 +0100"
  },
  "committer": {
    "name": "Rafael J. Wysocki",
    "email": "rjw@sisk.pl",
    "time": "Tue Mar 15 00:43:14 2011 +0100"
  },
  "message": "PM: Do not create wakeup sysfs files for devices that cannot wake up\n\nCurrently, wakeup sysfs attributes are created for all devices,\nregardless of whether or not they are wakeup-capable.  This is\nexcessive and complicates wakeup device identification from user\nspace (i.e. to identify wakeup-capable devices user space has to read\n/sys/devices/.../power/wakeup for all devices and see if they are not\nempty).\n\nFix this issue by avoiding to create wakeup sysfs files for devices\nthat cannot wake up the system from sleep states (i.e. whose\npower.can_wakeup flags are unset during registration) and modify\ndevice_set_wakeup_capable() so that it adds (or removes) the relevant\nsysfs attributes if a device\u0027s wakeup capability status is changed.\n\nSigned-off-by: Rafael J. Wysocki \u003crjw@sisk.pl\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7628cd1bc36a5e8080a646da492736c3e43b917d",
      "old_mode": 33188,
      "old_path": "Documentation/ABI/testing/sysfs-devices-power",
      "new_id": "8ffbc25376a0f59cfcde7b10157a0d58b235a748",
      "new_mode": 33188,
      "new_path": "Documentation/ABI/testing/sysfs-devices-power"
    },
    {
      "type": "modify",
      "old_id": "57080cd74575511ccaa3eebfb119a8560f343871",
      "old_mode": 33188,
      "old_path": "Documentation/power/devices.txt",
      "new_id": "dd9b49251db324b26038d07bc310006236fd745e",
      "new_mode": 33188,
      "new_path": "Documentation/power/devices.txt"
    },
    {
      "type": "modify",
      "old_id": "698dde74258792544098eb8866e77ee72303c865",
      "old_mode": 33188,
      "old_path": "drivers/base/power/power.h",
      "new_id": "f2a25f18fde7caaa3a1949c893afae3c872b76c3",
      "new_mode": 33188,
      "new_path": "drivers/base/power/power.h"
    },
    {
      "type": "modify",
      "old_id": "0b1e46bf3e56950e45366ab46a664992ac2c1f0f",
      "old_mode": 33188,
      "old_path": "drivers/base/power/sysfs.c",
      "new_id": "fff49bee781d44f4fd2f35dda22f86a388fd9259",
      "new_mode": 33188,
      "new_path": "drivers/base/power/sysfs.c"
    },
    {
      "type": "modify",
      "old_id": "82836383997f9193923634bab9e04ab5603ba18c",
      "old_mode": 33188,
      "old_path": "drivers/base/power/wakeup.c",
      "new_id": "4573c83df6ddc4d996e342bc47bb54f717063474",
      "new_mode": 33188,
      "new_path": "drivers/base/power/wakeup.c"
    },
    {
      "type": "modify",
      "old_id": "d34f067e2a7f31e5b391b22382b811913b407515",
      "old_mode": 33188,
      "old_path": "include/linux/pm_runtime.h",
      "new_id": "8de9aa6e7def9a4e2380b3f2d4e9a17727518890",
      "new_mode": 33188,
      "new_path": "include/linux/pm_runtime.h"
    },
    {
      "type": "modify",
      "old_id": "03a67db03d01e4133e027d22871929e5c150956e",
      "old_mode": 33188,
      "old_path": "include/linux/pm_wakeup.h",
      "new_id": "a32da962d6932963196cf0ea3783d27db33c9fbe",
      "new_mode": 33188,
      "new_path": "include/linux/pm_wakeup.h"
    }
  ]
}
