)]}'
{
  "commit": "a79220b7633b3926a9bd3527bdac3f04dbe6845c",
  "tree": "3f468fa05d28b330858555bac598e968c55accf7",
  "parents": [
    "4fe4a2bf9a687fc87ea796c234da8c59df763aab"
  ],
  "author": {
    "name": "Matej Kenda",
    "email": "matej.kenda@hermes-softlab.com",
    "time": "Mon Mar 05 13:06:40 2007 +0100"
  },
  "committer": {
    "name": "Russell King",
    "email": "rmk+kernel@arm.linux.org.uk",
    "time": "Sat Apr 21 20:36:55 2007 +0100"
  },
  "message": "[ARM] 4246/1: i2c-pxa: add adapter class to platform specific data\n\nReposted patch for kernel 2.6.21-rc2.\n\nThe driver i2c-pxa doesn\u0027t set the class member in i2c_adapter, which\nis used to register the I2C adapter. The hwmon (sensors) drivers (e.g.\nadm1021) that are connected to a i2c-pxa adapter don\u0027t attach because\nthey expect that the adapter supports class I2C_CLASS_HWMON.\n\nThis patch adds functionality to allow platforms to set the class and\npass it as platform_data to the i2c-pxa driver. Sample usage in\nplatform code:\n\nstatic struct i2c_pxa_platform_data my_i2c_platform_data \u003d {\n\t.class \u003d I2C_CLASS_HWMON\n};\n\nstatic void __init my_platform_init(void)\n{\n\t(void) platform_add_devices(devices, ARRAY_SIZE(devices));\n\n\tpxa_set_i2c_info(\u0026my_i2c_platform_data);\n}\n\nSigned-off-by: Matej Kenda \u003cmatej.kenda@hermes-softlab.com\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "14e83d0aac8c8fcc94372710f53067bd5a4ddad9",
      "old_mode": 33188,
      "old_path": "drivers/i2c/busses/i2c-pxa.c",
      "new_id": "11c7477a0ffaf1a085c86db65f64c7bc21b62c04",
      "new_mode": 33188,
      "new_path": "drivers/i2c/busses/i2c-pxa.c"
    },
    {
      "type": "modify",
      "old_id": "46ec2243974a3cf3e1bf1a9816089bc243ceef26",
      "old_mode": 33188,
      "old_path": "include/asm-arm/arch-pxa/i2c.h",
      "new_id": "e404b233d8a87f478d73b40d944d9432ebd40c69",
      "new_mode": 33188,
      "new_path": "include/asm-arm/arch-pxa/i2c.h"
    }
  ]
}
