dm: video: Refactor lcd_simplefb to prepare for driver model
authorSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 22:23:42 +0000 (16:23 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 10 May 2017 00:20:40 +0000 (20:20 -0400)
commit452614556c44d4dc508c3a9f3aff544334fce875
tree71bf070e5bad24cf60ce73ba60cbad1b973bb34a
parent7cac2fced726c4865133b74ea73ef13df40a1884
dm: video: Refactor lcd_simplefb to prepare for driver model

Adjust this function so that we can convert it to support CONFIG_DM_VIDEO
without a lot of code duplication.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
common/lcd_simplefb.c