OMAP2+: id: avoid register read
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 28 May 2016 21:23:56 +0000 (00:23 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 3 Jul 2016 00:23:25 +0000 (03:23 +0300)
commit43411e68eeb16b7df4dc3cbe816f7afa8b5fe16c
tree03ab1a1b03c93b512bf6ca9221cec6ff0f3f51bb
parenta4d580a70587d7eacf7e119246a871b158341d8a
OMAP2+: id: avoid register read

omap_type is always known and nobody else is using this kernel.
The goal is to allow the compiler to remove some code in idle path.
arch/arm/mach-omap2/id.c
arch/arm/plat-omap/include/plat/cpu.h