summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-mpc.c
diff options
context:
space:
mode:
authorGrant Likely2010-06-08 15:48:19 +0200
committerGrant Likely2010-07-06 00:14:52 +0200
commit959e85f7751c33d1a2dabc5cc3fe2ed0db7052e5 (patch)
treeeb466e1e2b9fae09a2639cdfa00a8e6996e34ca9 /drivers/i2c/busses/i2c-mpc.c
parentof/i2c: Generalize OF support (diff)
downloadkernel-qcow2-linux-959e85f7751c33d1a2dabc5cc3fe2ed0db7052e5.tar.gz
kernel-qcow2-linux-959e85f7751c33d1a2dabc5cc3fe2ed0db7052e5.tar.xz
kernel-qcow2-linux-959e85f7751c33d1a2dabc5cc3fe2ed0db7052e5.zip
i2c: Add OF-style registration and binding
This patch adds OF hooks to the i2c core so that devices can automatically be registered based on device tree data. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/i2c/busses/i2c-mpc.c')
-rw-r--r--drivers/i2c/busses/i2c-mpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c
index d2e26d290e7a..9f7fef8c4639 100644
--- a/drivers/i2c/busses/i2c-mpc.c
+++ b/drivers/i2c/busses/i2c-mpc.c
@@ -607,7 +607,6 @@ static int __devinit fsl_i2c_probe(struct of_device *op,
dev_err(i2c->dev, "failed to add adapter\n");
goto fail_add;
}
- of_i2c_register_devices(&i2c->adap);
return result;