diff options
author | Andy Green <andy@warmcat.com> | 2011-05-30 07:43:06 -0700 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-10-29 09:37:07 +0100 |
commit | a1295577773d9756b65972be7b462e4382996d08 (patch) | |
tree | f952af3bd57fed8d2111ee45b46c89f4972f38cc /drivers/net/xen-netback/interface.c | |
parent | d177e5ddb83a4bc518270e705e60ccc5a5aa6410 (diff) |
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
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>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions