Skip to content

Commit

Permalink
sh: ecovec24: Remove unused get_brightness LCDC callback
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Laurent Pinchart committed Nov 21, 2012
1 parent 1d33a51 commit 6bc1e5e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/sh/boards/mach-ecovec24/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,6 @@ static int ecovec24_set_brightness(int brightness)
return 0;
}

static int ecovec24_get_brightness(void)
{
return gpio_get_value(GPIO_PTR1);
}

static struct sh_mobile_lcdc_info lcdc_info = {
.ch[0] = {
.interface_type = RGB18,
Expand All @@ -347,7 +342,6 @@ static struct sh_mobile_lcdc_info lcdc_info = {
.name = "sh_mobile_lcdc_bl",
.max_brightness = 1,
.set_brightness = ecovec24_set_brightness,
.get_brightness = ecovec24_get_brightness,
},
}
};
Expand Down

0 comments on commit 6bc1e5e

Please sign in to comment.