]> git.karo-electronics.de Git - linux-beck.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)
commit06c2d368fc36bc557855fc1234f3f2d9fc6c6988
tree753bda89c46e099fe4b4caaa1938a9240711d5ab
parent92e963f50fc74041b5e9e744c330dca48e04f08d
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