)]}'
{
  "commit": "151b8c5ba1eb01bb49efe93bee2dcadb7bfca431",
  "tree": "0c66b7f0222de2712b502c6039796959c9f70377",
  "parents": [
    "cc4fa83f66e9a0b9a6db1c9604646163bcab4167"
  ],
  "author": {
    "name": "Amitoj Kaur Chawla",
    "email": "amitoj1606@gmail.com",
    "time": "Fri Jun 24 18:36:30 2016 +0530"
  },
  "committer": {
    "name": "Linus Walleij",
    "email": "linus.walleij@linaro.org",
    "time": "Wed Jun 29 10:07:59 2016 +0200"
  },
  "message": "pinctrl: sirf: atlas7: Add missing of_node_put\n\nof_find_node_by_name does an of_node_get on its return value,\nso an of_node_put is needed on this value before the corresponding\nvariable goes out of scope.\n\nThe Coccinelle semantic patch used to make this change is as follows:\n@@\nstruct device_node *n;\nstruct device_node *n1;\nstatement S;\nidentifier f;\nexpression E;\nconstant C;\n@@\n\nn \u003d of_find_node_by_name(...)\n...\nif (!n) S\n... when !\u003d of_node_put(n)\n    when !\u003d n1 \u003d f(n,...)\n    when !\u003d E \u003d n\n    when any\n    when strict\n(\n+ of_node_put(n);\n  return -C;\n|\n  of_node_put(n);\n|\n  n1 \u003d f(n,...)\n|\n  E \u003d n\n|\n  return ...;\n)\n\nSigned-off-by: Amitoj Kaur Chawla \u003camitoj1606@gmail.com\u003e\nSigned-off-by: Linus Walleij \u003clinus.walleij@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "168c0f5d40793bceb2612b98ab62e72acc517f5e",
      "old_mode": 33188,
      "old_path": "drivers/pinctrl/sirf/pinctrl-atlas7.c",
      "new_id": "19952f73fa8ca05fb95b5f3588194b594e99bc7c",
      "new_mode": 33188,
      "new_path": "drivers/pinctrl/sirf/pinctrl-atlas7.c"
    }
  ]
}
