ARM: OMAP2+: hwmod: consolidate finding the MPU port index and storing it
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:29 +0000 (04:04 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:29 +0000 (04:04 -0600)
commit24dbc2130179ebd493a241f6f5972cf6524b933a
treec5ac665e3ccfb75d2482628845aa84f57daa4438
parent5d95dde7316101656102cb585b73381e4eaadaa7
ARM: OMAP2+: hwmod: consolidate finding the MPU port index and storing it

An IP block's MPU interface port only needs to be found once.  The result
can be cached to speed further lookups.  This patch consolidates these
two steps into a single function.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod.c