)]}'
{
  "commit": "2be975c6d920de989ff5e4bc09ffe87e59d94662",
  "tree": "34b24d6559118a4aedc60bdef265834530cacde9",
  "parents": [
    "fa8e2458ecfc959cd627e25ba86d8eddcb63c887"
  ],
  "author": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Sat Nov 03 12:16:12 2012 -0700"
  },
  "committer": {
    "name": "Dmitry Torokhov",
    "email": "dmitry.torokhov@gmail.com",
    "time": "Thu Nov 08 09:10:05 2012 -0800"
  },
  "message": "Input: introduce managed input devices (add devres support)\n\nThere is a demand from driver\u0027s writers to use managed devices framework\nfor their drivers. Unfortunately up to this moment input devices did not\nprovide support for managed devices and that lead to mixing two styles\nof resource management which usually introduced more bugs, such as\nmanually unregistering input device but relying in devres to free\ninterrupt handler which (unless device is properly shut off) can cause\nISR to reference already freed memory.\n\nThis change introduces devm_input_allocate_device() that will allocate\nmanaged instance of input device so that driver writers who prefer\nusing devm_* framework do not have to mix 2 styles.\n\nReviewed-by: Henrik Rydberg \u003crydberg@euromail.se\u003e\nReviewed-by: Tejun Heo \u003ctj@kernel.org\u003e\nSigned-off-by: Dmitry Torokhov \u003cdmitry.torokhov@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f1be1a77edf31c9236ee96baa3a74e13a7bbd994",
      "old_mode": 33188,
      "old_path": "drivers/input/input.c",
      "new_id": "ce01332f7b3a8c770b1c31875b4d555dd38e56a3",
      "new_mode": 33188,
      "new_path": "drivers/input/input.c"
    },
    {
      "type": "modify",
      "old_id": "cab994ba6d919f14563f71774a07c405eafa915b",
      "old_mode": 33188,
      "old_path": "include/linux/input.h",
      "new_id": "5538cc09a4f50fba00814d15376c41ce5f90a7a8",
      "new_mode": 33188,
      "new_path": "include/linux/input.h"
    }
  ]
}
