]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit851e99d0cb9ce5085e1252387f51cfe1368b505a
tree6af57ed235c7732511ba8c7f5200b54db2c28e65
parentf269e8dcb1a65ba7482a8aa9da4dcda50b422ccc
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