)]}'
{
  "commit": "7c4c25e4bc37672e68d1c480a81fcb0efe6d2006",
  "tree": "210ce0ab1d7f6753d05bb4d36b2a8270ad6c95ad",
  "parents": [
    "c4604e49c1a5832a58789a22eba7ca982933e1be"
  ],
  "author": {
    "name": "Axel Lin",
    "email": "axel.lin@gmail.com",
    "time": "Fri Aug 06 13:33:15 2010 +0800"
  },
  "committer": {
    "name": "Liam Girdwood",
    "email": "lrg@slimlogic.co.uk",
    "time": "Wed Aug 11 11:38:02 2010 +0100"
  },
  "message": "regulator: max1586 - fix a memory leak in max1586_pmic_remove()\n\nIn max1586_pmic_probe(), we allocate memory for max1586.\nIn max1586_pmic_remove(), current implementation only free rdev\nwhich is a member of struct max1586_data.\nThus, there is a small memory leak when we unload the module.\n\nThis patch fixes the memory leak by passing max1586 to i2c clientdata,\nand properly kfree(max1586) in max1586_pmic_remove().\n\nSigned-off-by: Axel Lin \u003caxel.lin@gmail.com\u003e\nAcked-by: Wolfram Sang \u003cw.sang@pengutronix.de\u003e\nAcked-by: Mark Brown \u003cbroonie@opensource.wolfsonmicro.com\u003e\nAcked-by: Robert Jarzmik \u003crobert.jarzmik@free.fr\u003e\nSigned-off-by: Liam Girdwood \u003clrg@slimlogic.co.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2b54d9d75f11e2893ead65a3624199fa13fb9b24",
      "old_mode": 33188,
      "old_path": "drivers/regulator/max1586.c",
      "new_id": "8867c2710a6d07319d9ad1b6d926922b280f30dc",
      "new_mode": 33188,
      "new_path": "drivers/regulator/max1586.c"
    }
  ]
}
