I2C: OMAP2+: Convert omap I2C driver to use feature implementation flags from platfor...
authorAndy Green <andy@warmcat.com>
Tue, 8 Mar 2011 11:09:27 +0000 (11:09 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 8 Mar 2011 23:23:20 +0000 (15:23 -0800)
commitd98c94c1a6bef77554f893025a6d1c7869ac4736
tree3b2d7ffb5176e2af1c0c834a70aa0da4778c13dc
parent80e04e1f1b117503d8b4f3af59e357eaea0f4fc9
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
Cc: Ben Dooks <ben-linux@fluff.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>
drivers/i2c/busses/i2c-omap.c