video: mxsfb: refactor video_hw_init()
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Mon, 3 Jun 2019 21:05:58 +0000 (00:05 +0300)
committerAnatolij Gustschin <agust@denx.de>
Tue, 4 Jun 2019 21:22:59 +0000 (23:22 +0200)
commit9a6720522812b5d9bfda8964196407a3abbf6bb4
treefb058cea34f7ae2bd2383a8dbec5945902c0da13
parent23816322d5d701bcfd7d5197c77ed6c88d1830f7
video: mxsfb: refactor video_hw_init()

Refactor video_hw_init() function, and introduce an independent function
for the common procedure of initialization.

Currently video_hw_init() is only in charge of parsing configuration from
env("videomode") and filling struct GraphicPanel, and new
mxs_probe_common() does hw specific initialization (invocation of
mxs_lcd_init() etc.)

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
drivers/video/mxsfb.c