video: da8xx-fb: use modedb helper to update var
authorAfzal Mohammed <afzal@ti.com>
Mon, 5 Aug 2013 22:02:22 +0000 (17:02 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 Aug 2013 11:02:41 +0000 (14:02 +0300)
commitb866458b12f95ffff908b4bcc2be338705facc1d
tree4fb1aacd07674fea0c83542cd62224f7e4ae9e50
parent39c87d45b24231619440c83376a415a759130360
video: da8xx-fb: use modedb helper to update var

modedb structure is now used to store panel information, run modedb
helper over it for initial update of "var" information instead of
equating each fields.

While at it, remove redundant update of bits_per_pixel.

Note: pixclock is overridden with proper value using an existing code
as currently modedb is having it in Hz instead of ps, this would be
fixed in a later change and this overide would be removed.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/da8xx-fb.c