From b86ee6c89177aed2aa1355771aef2ac2a66e3254 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 8 Mar 2011 11:08:20 +0000 Subject: [PATCH] I2C: OMAP2+: use platform_data ip revision to select register map 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 Cc: Ben Dooks Reported-by: Peter Maydell Signed-off-by: Andy Green Signed-off-by: Tony Lindgren --- Reading git-format-patch failed