arm: omap: board-ldp: use generic dpi panel's gpio handling
authorArchit Taneja <archit@ti.com>
Mon, 19 Nov 2012 11:27:43 +0000 (16:57 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Apr 2013 08:50:40 +0000 (11:50 +0300)
commitfa2a02f26e76a01351b6a51e9152ae2efd088f48
tree12b9301e50b7bb31d903f7c28032c092fb73f9a2
parent130cbe57f8f8c2fdf68eeb085f55b88a067404e8
arm: omap: board-ldp: use generic dpi panel's gpio handling

The ldp board file currently requests gpios required to configure the NEC DPI
panel, and provides platform_enable/disable callbacks to configure them.

These tasks have been moved to the generic dpi panel driver itself and shouldn't
be done in the board files.

Remove the gpio requests and the platform callbacks from the board file.
Configure the gpio information in generic dpi panel's platform data so that it's
passed to the panel driver.

Signed-off-by: Archit Taneja <archit@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-ldp.c