)]}'
{
  "commit": "828296debf7853752e47b6abfa608ab0172e53ec",
  "tree": "dea1ae8cad35255f5f24bdf8893dab0b003baf49",
  "parents": [
    "90829c089ef622e54ce1153eb6dcda9ce98cb7c2"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "Julia.Lawall@lip6.fr",
    "time": "Thu Oct 04 17:14:07 2012 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Sat Oct 06 03:05:04 2012 +0900"
  },
  "message": "drivers/rtc/rtc-coh901331.c: use clk_prepare_enable() and clk_disable_unprepare()\n\nclk_prepare_enable and clk_disable_unprepare combine clk_prepare and\nclk_enable, and clk_disable and clk_unprepare.  They make the code more\nconcise, and ensure that clk_unprepare is called when clk_enable fails.\n\nA simplified version of the semantic patch that introduces calls to these\nfunctions is as follows: (http://coccinelle.lip6.fr/)\n\n// \u003csmpl\u003e\n@@\nexpression e;\n@@\n\n- clk_prepare(e);\n- clk_enable(e);\n+ clk_prepare_enable(e);\n\n@@\nexpression e;\n@@\n\n- clk_disable(e);\n- clk_unprepare(e);\n+ clk_disable_unprepare(e);\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cJulia.Lawall@lip6.fr\u003e\nAcked-by: Linus Walleij \u003clinus.walleij@linaro.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "76b2156d3c62252c80aec1eacce8fe0684950d75",
      "old_mode": 33188,
      "old_path": "drivers/rtc/rtc-coh901331.c",
      "new_id": "c8115b83e5ab513d2360adbdb4911352c3cd3187",
      "new_mode": 33188,
      "new_path": "drivers/rtc/rtc-coh901331.c"
    }
  ]
}
