)]}'
{
  "commit": "7096d0422153ffcc2264eef652fc3a7bca3e6d3c",
  "tree": "2be6139f1e26acb4d0680e50a87623bc18938147",
  "parents": [
    "bda80da469a93122121de601dd469ce1aaa6effa"
  ],
  "author": {
    "name": "Grant Likely",
    "email": "grant.likely@secretlab.ca",
    "time": "Wed Oct 20 11:45:13 2010 -0600"
  },
  "committer": {
    "name": "Grant Likely",
    "email": "grant.likely@secretlab.ca",
    "time": "Thu Oct 21 11:10:10 2010 -0600"
  },
  "message": "of/device: Rework to use common platform_device_alloc() for allocating devices\n\nThe current code allocates and manages platform_devices created from\nthe device tree manually.  It also uses an unsafe shortcut for\nallocating the platform_device and the resource table at the same\ntime. (which I added in the last rework; sorry).\n\nThis patch refactors the code to use platform_device_alloc() for\nallocating new devices.  This reduces the amount of custom code\nimplemented by of_platform, eliminates the unsafe alloc trick, and has\nthe side benefit of letting the platform_bus code manage freeing the\ndevice data and resources when the device is freed.\n\nSigned-off-by: Grant Likely \u003cgrant.likely@secretlab.ca\u003e\nCc: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\nCc: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\nCc: \"David S. Miller\" \u003cdavem@davemloft.net\u003e\nCc: Michal Simek \u003cmonstr@monstr.eu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9b626cfffce17d2a8c487c15f50bdd5bc229695f",
      "old_mode": 33188,
      "old_path": "arch/powerpc/kernel/ibmebus.c",
      "new_id": "f62efdfd176989c142019351fe691b52edc5260f",
      "new_mode": 33188,
      "new_path": "arch/powerpc/kernel/ibmebus.c"
    },
    {
      "type": "modify",
      "old_id": "c6c933f58102370d8ed738e2778cb11dad2e93fb",
      "old_mode": 33188,
      "old_path": "drivers/base/platform.c",
      "new_id": "2fff59cef5051cc54366c3e11a8db0c990584d25",
      "new_mode": 33188,
      "new_path": "drivers/base/platform.c"
    },
    {
      "type": "modify",
      "old_id": "92de0eb74aea9ebfb5825129d8dcd38b2e3bb232",
      "old_mode": 33188,
      "old_path": "drivers/of/device.c",
      "new_id": "45d86530799fce60e1f117dd7b55d9223f29748d",
      "new_mode": 33188,
      "new_path": "drivers/of/device.c"
    },
    {
      "type": "modify",
      "old_id": "30726c8b0693c2515f7df9b0af053fcf927d75f2",
      "old_mode": 33188,
      "old_path": "drivers/of/platform.c",
      "new_id": "5b4a07f1220ed38d326e87591eef924b15d9e353",
      "new_mode": 33188,
      "new_path": "drivers/of/platform.c"
    },
    {
      "type": "modify",
      "old_id": "835f85ecd2de3eb1331a82a4de24222d5dd98fe1",
      "old_mode": 33188,
      "old_path": "include/linux/of_device.h",
      "new_id": "975d347079d95ee7015e976a95888951c348a538",
      "new_mode": 33188,
      "new_path": "include/linux/of_device.h"
    }
  ]
}
