aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
authorShubhrajyoti D <shubhrajyoti@ti.com>2012-11-05 07:23:39 -0500
committerWolfram Sang <w.sang@pengutronix.de>2012-11-14 11:44:40 -0500
commit2c88ab8c5af7d637d2a9d14b607fa6100fa64236 (patch)
treec3e538826b03ad2dd488a4dc45d750dd7fe70183 /drivers/i2c/busses
parentcd10c74aeea76e60ec5ab15357266b76d8e50df1 (diff)
ARM: i2c: omap: Remove the i207 errata flag
The commit [i2c: omap: use revision check for OMAP_I2C_FLAG_APPLY_ERRATA_I207] uses the revision id instead of the flag. So the flag can be safely removed. Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r--drivers/i2c/busses/i2c-omap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 0ca50e71731b..11e645ab1e79 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1028,8 +1028,7 @@ static const struct i2c_algorithm omap_i2c_algo = {
1028#ifdef CONFIG_OF 1028#ifdef CONFIG_OF
1029static struct omap_i2c_bus_platform_data omap3_pdata = { 1029static struct omap_i2c_bus_platform_data omap3_pdata = {
1030 .rev = OMAP_I2C_IP_VERSION_1, 1030 .rev = OMAP_I2C_IP_VERSION_1,
1031 .flags = OMAP_I2C_FLAG_APPLY_ERRATA_I207 | 1031 .flags = OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
1032 OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
1033 OMAP_I2C_FLAG_BUS_SHIFT_2, 1032 OMAP_I2C_FLAG_BUS_SHIFT_2,
1034}; 1033};
1035 1034