I2C: OMAP2+: Convert omap I2C driver to use feature implementation flags from platfor...
authorAndy Green <andy@warmcat.com>
Mon, 30 May 2011 14:43:09 +0000 (07:43 -0700)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 08:37:08 +0000 (09:37 +0100)
commit3be0053ee1a8bfb68de82716ae784f75e1610d60
tree37ced3431cc2c24d2b6f6819f83e03bed2a0d91e
parent8e286f5a2156f71dd304ce9ad1cd6b07231aaae6
I2C: OMAP2+: Convert omap I2C driver to use feature implementation flags from platform data

This patch eliminates all cpu_...() tests from the OMAP I2C driver.

Instead, it uses the functionality flags in the platform data to make
the decisions about product variations the driver needs to handle.

Cc: patches@linaro.org
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/i2c/busses/i2c-omap.c