ARM: OMAP: display: change compat names to array
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 11 Dec 2014 14:30:07 +0000 (16:30 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Jun 2015 06:02:09 +0000 (09:02 +0300)
commit5b5992ac64a5a609c995807d987459c7759c6fb1
tree02c864c1eed29335c7de1d65f82dd9df4b01e81c
parenta3818c6d5718c40e661846c0f6504a7f3f67918a
ARM: OMAP: display: change compat names to array

Simplify the DSS detection logic by creating a list of the omapdss
compat strings, instead of checking each separately with an 'if'.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/display.c