video: imxfb: Remove unused fields from platform data structure
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 15 Feb 2014 05:56:23 +0000 (09:56 +0400)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 28 Feb 2014 10:35:22 +0000 (12:35 +0200)
commitb7d2d37276c1dce86d9a55239f0686e1bd81a37f
tree2c097b5b22a20a6d71feff442425158929bdf564
parent2516ae8a69c3e21771cd0095a0dd10160fa055a4
video: imxfb: Remove unused fields from platform data structure

Some fields in platform data structure is never used by boards.
This patch removes these fields and as a result optimizes private
driver structure a bit. Additionally patch removes backligh_power()
callback, so if it will be needed in the future, this feature should
be added as pwm{gpio,etc.}-regulator to the board code or in the DTS.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/imxfb.c
include/linux/platform_data/video-imxfb.h