aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ag5evm.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-11 16:59:04 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-12 17:40:49 -0400
commit018882aa66f5110478edc14e6c3fecc2b46ca0c0 (patch)
treeaf28c376103c290cc17f4dab05af92f46365e076 /arch/arm/mach-shmobile/board-ag5evm.c
parentaa7b5b0b2db6d33a8104e411cb74c15a4983b286 (diff)
fbdev: sh_mobile_lcdc: Remove board configuration board_data field
The field is unused, remove it. Update board code accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ag5evm.c')
-rw-r--r--arch/arm/mach-shmobile/board-ag5evm.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
index 068b754bc34..7108c5da607 100644
--- a/arch/arm/mach-shmobile/board-ag5evm.c
+++ b/arch/arm/mach-shmobile/board-ag5evm.c
@@ -229,16 +229,6 @@ static void lcd_backlight_reset(void)
229 gpio_set_value(GPIO_PORT235, 1); 229 gpio_set_value(GPIO_PORT235, 1);
230} 230}
231 231
232static void lcd_on(void *board_data, struct fb_info *info)
233{
234 lcd_backlight_on();
235}
236
237static void lcd_off(void *board_data)
238{
239 lcd_backlight_reset();
240}
241
242/* LCDC0 */ 232/* LCDC0 */
243static const struct fb_videomode lcdc0_modes[] = { 233static const struct fb_videomode lcdc0_modes[] = {
244 { 234 {
@@ -268,8 +258,8 @@ static struct sh_mobile_lcdc_info lcdc0_info = {
268 .lcd_cfg = lcdc0_modes, 258 .lcd_cfg = lcdc0_modes,
269 .num_cfg = ARRAY_SIZE(lcdc0_modes), 259 .num_cfg = ARRAY_SIZE(lcdc0_modes),
270 .board_cfg = { 260 .board_cfg = {
271 .display_on = lcd_on, 261 .display_on = lcd_backlight_on,
272 .display_off = lcd_off, 262 .display_off = lcd_backlight_reset,
273 }, 263 },
274 } 264 }
275}; 265};