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 <[email protected]>
Signed-off-by: Shubhrajyoti D <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
Shubhrajyoti D 2012-11-05 17:53:39 +05:30 • committed by Wolfram Sang
commit 2c88ab8c5a
4 changed files with 5 additions and 11 deletions

View file

@ -1028,8 +1028,7 @@ static const struct i2c_algorithm omap_i2c_algo = {
#ifdef CONFIG_OF
static struct omap_i2c_bus_platform_data omap3_pdata = {
.rev = OMAP_I2C_IP_VERSION_1,
.flags = OMAP_I2C_FLAG_APPLY_ERRATA_I207 |
OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
.flags = OMAP_I2C_FLAG_RESET_REGS_POSTIDLE |
OMAP_I2C_FLAG_BUS_SHIFT_2,
};