From 7232b1f91ee8abb85a4a9202ae170910b66d2305 Mon Sep 17 00:00:00 2001 From: Archit Taneja Date: Fri, 30 Nov 2012 15:11:09 +0530 Subject: OMAPDSS: lb035q02: handle gpios in panel driver The lgphilips panel driver leaves gpio configurations to the platform_enable and disable calls in the platform's board file. These should happen in the panel driver itself. Use the platform data as defined for generic dpi panels to pass gpio information to the lgphilips driver. This will help in removing the need for the panel drivers to have platform related callbacks. Signed-off-by: Archit Taneja --- .../omap2/displays/panel-lgphilips-lb035q02.c | 38 +++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c index 8effea8f2259..63cd88570055 100644 --- a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c +++ b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c @@ -20,8 +20,10 @@ #include #include #include +#include #include