diff options
| -rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 0c27c810cf99..bfd2dc83d995 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
| @@ -370,11 +370,6 @@ static int mackerel_set_brightness(int brightness) | |||
| 370 | return 0; | 370 | return 0; |
| 371 | } | 371 | } |
| 372 | 372 | ||
| 373 | static int mackerel_get_brightness(void) | ||
| 374 | { | ||
| 375 | return gpio_get_value(GPIO_PORT31); | ||
| 376 | } | ||
| 377 | |||
| 378 | static const struct sh_mobile_meram_cfg lcd_meram_cfg = { | 373 | static const struct sh_mobile_meram_cfg lcd_meram_cfg = { |
| 379 | .icb[0] = { | 374 | .icb[0] = { |
| 380 | .meram_size = 0x40, | 375 | .meram_size = 0x40, |
| @@ -403,7 +398,6 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
| 403 | .name = "sh_mobile_lcdc_bl", | 398 | .name = "sh_mobile_lcdc_bl", |
| 404 | .max_brightness = 1, | 399 | .max_brightness = 1, |
| 405 | .set_brightness = mackerel_set_brightness, | 400 | .set_brightness = mackerel_set_brightness, |
| 406 | .get_brightness = mackerel_get_brightness, | ||
| 407 | }, | 401 | }, |
| 408 | .meram_cfg = &lcd_meram_cfg, | 402 | .meram_cfg = &lcd_meram_cfg, |
| 409 | } | 403 | } |
