aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-mackerel.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-mackerel.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-mackerel.c')
-rw-r--r--arch/arm/mach-shmobile/board-mackerel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index f275a817939c..d366e7873a34 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -351,14 +351,14 @@ static struct fb_videomode mackerel_lcdc_modes[] = {
351 }, 351 },
352}; 352};
353 353
354static int mackerel_set_brightness(void *board_data, int brightness) 354static int mackerel_set_brightness(int brightness)
355{ 355{
356 gpio_set_value(GPIO_PORT31, brightness); 356 gpio_set_value(GPIO_PORT31, brightness);
357 357
358 return 0; 358 return 0;
359} 359}
360 360
361static int mackerel_get_brightness(void *board_data) 361static int mackerel_get_brightness(void)
362{ 362{
363 return gpio_get_value(GPIO_PORT31); 363 return gpio_get_value(GPIO_PORT31);
364} 364}