arm: omap: board-rx-51: use acx565akm panel's gpio handling
authorArchit Taneja <archit@ti.com>
Tue, 12 Feb 2013 08:35:37 +0000 (14:05 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Apr 2013 08:50:56 +0000 (11:50 +0300)
commit3c803f40e8da044f5b66bf21a454315117c9ac17
treeadef68ad76c32257be1e6202b49e447646898e97
parenta05f92b70205df5927d767e9e0afecd2e5fde6d2
arm: omap: board-rx-51: use acx565akm panel's gpio handling

The rx-51 board file currently requests gpios required by the acx565akm panel,
and provides platform_enable/disable callbacks to configure them.

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

Remove the gpio requests and the platform callbacks from the board file. Pass
the panel_acx565akm_data instance 'lcd_data' to omap_dss_device instead of
passing the gpio number in omap_dss_device's reset_gpio.

Add the gpio information to panel_acx565akm_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-rx51-video.c