of/i2c: Generalize OF support
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 8 Jun 2010 13:48:18 +0000 (07:48 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 22:14:52 +0000 (16:14 -0600)
commit9fd049927ccba1c1d0343239b82f28c4e07fb95d
treee7d86e42e2643e1376c102f00c0e76d14cf65f86
parent4f0ddcb020ef8afae65b4edb9aeb4a42ab74f4cf
of/i2c: Generalize OF support

This patch cleans up the i2c OF support code to make it selectable by
all architectures and allow for automatic registration of i2c devices.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/i2c/busses/i2c-cpm.c
drivers/i2c/busses/i2c-ibm_iic.c
drivers/i2c/busses/i2c-mpc.c
drivers/of/Kconfig
drivers/of/of_i2c.c
include/linux/of_i2c.h