OMAP: DSS2: DISPC: use lookup tables for bit shifts
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 15 Aug 2011 08:51:50 +0000 (11:51 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:20 +0000 (16:16 +0300)
commitfe3cc9d6cd4c8279f4ea70acc71525a489cfc38a
treecaddf6e9886345ab9f07eb9be124ce03398e29d9
parent4a9e78abb76a2f1ddccab7098bdf73a2f095aaa6
OMAP: DSS2: DISPC: use lookup tables for bit shifts

Use lookup tables instead of switch/if in some DISPC functions to make
the code cleaner.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c