From: Andy Green Date: Tue, 29 Mar 2011 23:38:53 +0000 (-0700) Subject: I2C: OMAP2+: use platform_data ip revision to select register map X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f2bdbc63e9143cea9f676ae8d7b6c64545fc6af;p=pandora-kernel.git 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-diff-tree failed