I2C: OMAP2+: use platform_data ip revision to select register map
authorAndy Green <andy@warmcat.com>
Mon, 30 May 2011 14:43:06 +0000 (07:43 -0700)
committerKevin Hilman <khilman@ti.com>
Fri, 8 Jul 2011 16:18:08 +0000 (09:18 -0700)
Change the register map names to reflect the IP revision they
are representing, and use the platform_data IP revision index
to select between them at init time.

Eliminates 1 of 17 cpu_...() calls in the driver.

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>

No differences found