From: Paul Walmsley Date: Thu, 19 Apr 2012 10:04:29 +0000 (-0600) Subject: ARM: OMAP2+: hwmod: consolidate finding the MPU port index and storing it X-Git-Tag: omap-cleanup-hwmod-for-v3.5^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24dbc2130179ebd493a241f6f5972cf6524b933a;p=pandora-kernel.git 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 Cc: BenoƮt Cousson --- Reading git-diff-tree failed