]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: DRA7: Make use of omap_revision information for soc_is* calls
authorKeerthy <j-keerthy@ti.com>
Wed, 17 Feb 2016 10:48:43 +0000 (16:18 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 19 Feb 2016 18:12:52 +0000 (10:12 -0800)
commit5e8e9e9838c03bdaa0ac51188a53794823556ce2
tree753bda89c46e099fe4b4caaa1938a9240711d5ab
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
ARM: OMAP: DRA7: Make use of omap_revision information for soc_is* calls

Currently of_machine_is_compatible is used to detect the soc which
employs string comparison operations. We already have all the required
information in the omap_revision. Hence make use of the same like
the previous OMAPs and avoid costly string comparisons.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/soc.h