)]}'
{
  "commit": "006f4571a15fae3a0575f2a0f9e9b63b3d1012f8",
  "tree": "22c2e30f830b0440032c1347b13bf96734a76022",
  "parents": [
    "e0edd3c65aa5b53e20280565a7ce11675eb7ed6b"
  ],
  "author": {
    "name": "Ming Lei",
    "email": "tom.leiming@gmail.com",
    "time": "Sun Mar 08 23:13:32 2009 +0800"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Tue Mar 24 16:38:26 2009 -0700"
  },
  "message": "driver core: move platform_data into platform_device\n\nThis patch moves platform_data from struct device into\nstruct platform_device, based on the two ideas:\n\n1. Now all platform_driver is registered by platform_driver_register,\n   which makes probe()/release()/... of platform_driver passed parameter\n   of platform_device *, so platform driver can get platform_data from\n   platform_device;\n\n2. Other kind of devices do not need to use platform_data, we can\n   decrease size of device if moving it to platform_device.\n\nTaking into consideration of thousands of files to be fixed and they\ncan\u0027t be finished in one night(maybe it will take a long time), so we\nkeep platform_data in device to allow two kind of cases coexist until\nall platform devices pass its platfrom data from\nplatform_device-\u003eplatform_data.\n\nAll patches to do this kind of conversion are welcome.\n\nSigned-off-by: Ming Lei \u003ctom.leiming@gmail.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ec993aa6a2ca6bffe63f42378840abad53ae7f32",
      "old_mode": 33188,
      "old_path": "drivers/base/platform.c",
      "new_id": "c5ac81d223039578631aaafaaa4062628e7c8472",
      "new_mode": 33188,
      "new_path": "drivers/base/platform.c"
    },
    {
      "type": "modify",
      "old_id": "5a64775e68e4934d0346995821da9792701562eb",
      "old_mode": 33188,
      "old_path": "include/linux/device.h",
      "new_id": "4bea53fe8f4c0602d2db4efd15f247c2a8b3af3c",
      "new_mode": 33188,
      "new_path": "include/linux/device.h"
    },
    {
      "type": "modify",
      "old_id": "76aef7be32ab1f12246489bbe17ff51a66f3db3a",
      "old_mode": 33188,
      "old_path": "include/linux/platform_device.h",
      "new_id": "76e470a299bfb9365078574e9ca3b1f438eae1d7",
      "new_mode": 33188,
      "new_path": "include/linux/platform_device.h"
    }
  ]
}
