From: Tero Kristo Date: Mon, 9 Feb 2015 14:17:38 +0000 (+0200) Subject: ARM: OMAP2+: id: cache omap_type value X-Git-Tag: omap-for-v4.1/prcm-dts^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d240d661f42214bd372c0e5b21afaf71b9329c;p=pandora-kernel.git ARM: OMAP2+: id: cache omap_type value There is no need to read the register with every invocation of the function, as the value is constant. Thus, cache the value in a static variable. Signed-off-by: Tero Kristo --- Reading git-diff-tree failed