Skip to content

Commit

Permalink
ARM: mach-shmobile: mackerel: Removed unused get_brightness callback
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Simon Horman <horms@verge.net.au>
  • Loading branch information
Laurent Pinchart committed Nov 21, 2012
1 parent 656d4f3 commit 4c10853
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,11 +370,6 @@ static int mackerel_set_brightness(int brightness)
return 0;
}

static int mackerel_get_brightness(void)
{
return gpio_get_value(GPIO_PORT31);
}

static const struct sh_mobile_meram_cfg lcd_meram_cfg = {
.icb[0] = {
.meram_size = 0x40,
Expand Down Expand Up @@ -403,7 +398,6 @@ static struct sh_mobile_lcdc_info lcdc_info = {
.name = "sh_mobile_lcdc_bl",
.max_brightness = 1,
.set_brightness = mackerel_set_brightness,
.get_brightness = mackerel_get_brightness,
},
.meram_cfg = &lcd_meram_cfg,
}
Expand Down

0 comments on commit 4c10853

Please sign in to comment.