OMAP3: id: add fallthrough warning; fix some CodingStyle issues
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:44 +0000 (15:44 -0600)
commit51ec811a292eba77c1df00d9d6416526b1ce7972
tree6af57ed235c7732511ba8c7f5200b54db2c28e65
parent9ed2ba7aa78ee35dda2cfc9a49b5cd4b2ae88500
OMAP3: id: add fallthrough warning; fix some CodingStyle issues

Emit a warning to the console in omap3_check_revision() if that code
cannot determine what type of SoC the system is currently running on.

Remove some extra whitespace, remove some duplicate code, and
add an appropriate comment to a fallthrough case.

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