)]}'
{
  "commit": "2a813f1aaaf00a7eb65bef8da2fe9fcec0aabaaa",
  "tree": "7839c0d9dfaf0146ae3b426cf036d1e3b8d9656c",
  "parents": [
    "16b7c275c055cc36218404b5d147be7f76575087"
  ],
  "author": {
    "name": "Prarit Bhargava",
    "email": "prarit@redhat.com",
    "time": "Sun Dec 14 09:06:37 2014 -0500"
  },
  "committer": {
    "name": "Rafael J. Wysocki",
    "email": "rafael.j.wysocki@intel.com",
    "time": "Sun Dec 14 22:14:16 2014 +0100"
  },
  "message": "Revert \"tools: cpupower: fix return checks for sysfs_get_idlestate_count()\"\n\nThis reverts commit 16b7c275c055cc36218404b5d147be7f76575087.\n\nMy previous commit 16b7c275c055 (\"tools: cpupower: fix return checks for\nsysfs_get_idlestate_count()\") was not correct.  After looking\nat the changelog for cpupower I noticed that Thomas had changed the return of\nsysfs_get_idlestate_count() to an unsigned int to simplify the code.  The\nproblem is really that both he (in his original change) and I (in my new\nchange) missed the obvious that sysfs_get_idlestate_count()\ncan\u0027t return -ENODEV.  It should just return 0 for \"no c-states\".\n\nFixes: 16b7c275c055 (tools: cpupower: fix return checks for ...)\nSigned-off-by: Prarit Bhargava \u003cprarit@redhat.com\u003e\nSigned-off-by: Rafael J. Wysocki \u003crafael.j.wysocki@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "458d69b444ad7d7a075de31a0b1fa8cb40ba8c77",
      "old_mode": 33188,
      "old_path": "tools/power/cpupower/utils/cpuidle-info.c",
      "new_id": "75e66de7e7a7fc9934ec005667c6857cff42ff04",
      "new_mode": 33188,
      "new_path": "tools/power/cpupower/utils/cpuidle-info.c"
    }
  ]
}
