)]}'
{
  "commit": "37c12e7497b6fe2b6a890814f0ff4edce696d862",
  "tree": "ea6ee411ffb3067d0940edc5f1c357e4576c2056",
  "parents": [
    "7015faa7df829876a0f931cd18aa6d7c24a1b581"
  ],
  "author": {
    "name": "Russell King",
    "email": "rmk@dyn-67.arm.linux.org.uk",
    "time": "Sat Nov 05 21:19:33 2005 +0000"
  },
  "committer": {
    "name": "Russell King",
    "email": "rmk+kernel@arm.linux.org.uk",
    "time": "Sat Nov 05 21:19:33 2005 +0000"
  },
  "message": "[DRIVER MODEL] Improved dynamically allocated platform_device interface\n\nRe-jig the simple platform device support to allow private data\nto be attached to a platform device, as well as allowing the\nparent device to be set.\n\nExample usage:\n\n\tpdev \u003d platform_device_alloc(\"mydev\", id);\n\tif (pdev) {\n\t\terr \u003d platform_device_add_resources(pdev, \u0026resources,\n\t\t\t\t\t\t    ARRAY_SIZE(resources));\n\t\tif (err \u003d\u003d 0)\n\t\t\terr \u003d platform_device_add_data(pdev, \u0026platform_data,\n\t\t\t\t\t\t       sizeof(platform_data));\n\t\tif (err \u003d\u003d 0)\n\t\t\terr \u003d platform_device_add(pdev);\n\t} else {\n\t\terr \u003d -ENOMEM;\n\t}\n\tif (err)\n\t\tplatform_device_put(pdev);\n\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\nAcked-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d597c922af11969213d3ea8bbe310bc57089d277",
      "old_mode": 33188,
      "old_path": "drivers/base/platform.c",
      "new_id": "6d4736e89f1adacbfe666e12ac23233424e3ad44",
      "new_mode": 33188,
      "new_path": "drivers/base/platform.c"
    },
    {
      "type": "modify",
      "old_id": "a726225e0afec2147375ff93b4a36976770c128e",
      "old_mode": 33188,
      "old_path": "include/linux/platform_device.h",
      "new_id": "1a165b7ae01b5889b154133b345a53c4a022f58b",
      "new_mode": 33188,
      "new_path": "include/linux/platform_device.h"
    }
  ]
}
