OMAP3: id: remove duplicate code for testing SoC ES level
authorPaul Walmsley <paul@pwsan.com>
Wed, 14 Sep 2011 01:52:15 +0000 (19:52 -0600)
committerPaul Walmsley <paul@pwsan.com>
Wed, 14 Sep 2011 21:44:55 +0000 (15:44 -0600)
commit3b32b7d62e9800579e591553875e5ff60be15546
tree74d685ede75dd4907e7f10aa8fcff080f581412f
parent51ec811a292eba77c1df00d9d6416526b1ce7972
OMAP3: id: remove duplicate code for testing SoC ES level

omap3_cpuinfo() contains essentially duplicated code from
omap3_check_revision(), just for the purpose of determining the chip ES level.
Set the cpu_rev char array pointer in omap3_check_revision() instead,
and drop the now-useless code from omap3_cpuinfo().

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Igor Grinberg <grinberg@compulab.co.il>
Tested-by: Abhilash Koyamangalath <abhilash.kv@ti.com>
arch/arm/mach-omap2/id.c