ARM: OMAP3+: SmartReflex: micro-optimization for sanity check
authorFelipe Balbi <balbi@ti.com>
Wed, 29 Feb 2012 22:33:47 +0000 (23:33 +0100)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Mar 2012 19:29:27 +0000 (11:29 -0800)
commitd617369219f136dc6e7923f573d826c7afb4b269
treeafe3e8dcb0963f5e0c1424083c594e5a556cea6f
parent4018bfebc6e704838f1a9f1d96110d9bd68ae0f9
ARM: OMAP3+: SmartReflex: micro-optimization for sanity check

val && (val != 1) == val > 1

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c