diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-11 16:59:04 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 17:40:49 -0400 |
commit | 018882aa66f5110478edc14e6c3fecc2b46ca0c0 (patch) | |
tree | af28c376103c290cc17f4dab05af92f46365e076 /arch/arm/mach-shmobile/board-mackerel.c | |
parent | aa7b5b0b2db6d33a8104e411cb74c15a4983b286 (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.c | 4 |
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 | ||
354 | static int mackerel_set_brightness(void *board_data, int brightness) | 354 | static 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 | ||
361 | static int mackerel_get_brightness(void *board_data) | 361 | static int mackerel_get_brightness(void) |
362 | { | 362 | { |
363 | return gpio_get_value(GPIO_PORT31); | 363 | return gpio_get_value(GPIO_PORT31); |
364 | } | 364 | } |