]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 14 Sep 2011 21:19:12 +0000 (22:19 +0100)
commitd4cf65847720c82b3563484fe8fb7b1cb46f54bd
treeda26a0eb4c91727da53d021c9843ecbcc34a5ebc
parentab00f95c16c992387fd9a7ee4031ed09821b5d69
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