OMAPFB: clean up default display search
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 30 Jul 2013 07:59:16 +0000 (10:59 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 19 Mar 2014 09:03:05 +0000 (11:03 +0200)
commit4b13defce85d4e3cbd7ddfd701856a78772de373
tree7b182100703e0d3c92606a298a89df8c166c5030
parent3e22b355343d808bb09cc47b5ecb261af3b5753b
OMAPFB: clean up default display search

Separate the code for finding the default display into a function for
clarity and to make it easier to extend it in the future.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c