From: Archit Taneja Date: Tue, 12 Feb 2013 08:35:37 +0000 (+0530) Subject: arm: omap: board-rx-51: use acx565akm panel's gpio handling X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3c803f40e8da044f5b66bf21a454315117c9ac17;p=openwrt%2Fstaging%2Fblogic.git 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 Cc: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/board-rx51-video.c index eb667261df08..bd74f9f6063b 100644 --- a/arch/arm/mach-omap2/board-rx51-video.c +++ b/arch/arm/mach-omap2/board-rx51-video.c @@ -16,6 +16,8 @@ #include #include #include