)]}'
{
  "commit": "925bb9c649cf8d7200549b395f2ae291833dd494",
  "tree": "d784277831b7ae02d63d277dbacb0a73609d8661",
  "parents": [
    "64b4782fc9e4bdc59ae90897e2258e4ec938690e"
  ],
  "author": {
    "name": "Grant Likely",
    "email": "grant.likely@secretlab.ca",
    "time": "Thu Sep 30 14:14:23 2010 +0200"
  },
  "committer": {
    "name": "Jean Delvare",
    "email": "khali@endymion.delvare",
    "time": "Thu Sep 30 14:14:23 2010 +0200"
  },
  "message": "of/i2c: Fix module load order issue caused by of_i2c.c\n\nCommit 959e85f7, \"i2c: add OF-style registration and binding\" caused a\nmodule dependency loop where of_i2c.c calls functions in i2c-core, and\ni2c-core calls of_i2c_register_devices() in of_i2c.  This means that\nwhen i2c support is built as a module when CONFIG_OF is set, then\nneither i2c_core nor of_i2c are able to be loaded.\n\nThis patch fixes the problem by moving the of_i2c_register_devices()\ncalls back into the device drivers.  Device drivers already\nspecifically request the core code to parse the device tree for\ndevices anyway by setting the of_node pointer, so it isn\u0027t a big\ndeal to also call the registration function.  The drivers just become\nslightly more verbose.\n\nSigned-off-by: Grant Likely \u003cgrant.likely@secretlab.ca\u003e\nSigned-off-by: Jean Delvare \u003ckhali@linux-fr.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f7bd2613ceccbc69e4d04b69432fdc40638b2555",
      "old_mode": 33188,
      "old_path": "drivers/i2c/busses/i2c-cpm.c",
      "new_id": "f2de3be35df36265cdfca5d899097b161ef10171",
      "new_mode": 33188,
      "new_path": "drivers/i2c/busses/i2c-cpm.c"
    },
    {
      "type": "modify",
      "old_id": "43ca32fddde2b77309c92533f9c2c50e44719879",
      "old_mode": 33188,
      "old_path": "drivers/i2c/busses/i2c-ibm_iic.c",
      "new_id": "89eedf45d30ed877e6abbc76c66507372c4a3f83",
      "new_mode": 33188,
      "new_path": "drivers/i2c/busses/i2c-ibm_iic.c"
    },
    {
      "type": "modify",
      "old_id": "a1c419a716af8d24f4a84a680cc93123b6c8bff9",
      "old_mode": 33188,
      "old_path": "drivers/i2c/busses/i2c-mpc.c",
      "new_id": "b74e6dc6886c71ed5ebe3e02f219a68f8f0a2df8",
      "new_mode": 33188,
      "new_path": "drivers/i2c/busses/i2c-mpc.c"
    },
    {
      "type": "modify",
      "old_id": "9b3cac13a4a884b4044877fdaf4900a0fe5ec668",
      "old_mode": 33188,
      "old_path": "drivers/i2c/i2c-core.c",
      "new_id": "bea4c5021d26cb5b4c92e9b58cabeda2b882023c",
      "new_mode": 33188,
      "new_path": "drivers/i2c/i2c-core.c"
    }
  ]
}
