]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27bfe9148bff61bfa4608aeed3588db8246722e9
tree02c864c1eed29335c7de1d65f82dd9df4b01e81c
parentedb96e198d7166d4f82dc0cef9a60e8ef99c9296
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