From: Laurent Pinchart Date: Wed, 15 Aug 2012 16:12:51 +0000 (+0200) Subject: sh: ecovec24: Remove unused get_brightness LCDC callback X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6bc1e5eca24744898d93cbefe8f6091ecf1c4753;p=linux-beck.git sh: ecovec24: Remove unused get_brightness LCDC callback Signed-off-by: Laurent Pinchart Acked-by: Paul Mundt --- diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 64559e8af14b..3fede4556c91 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -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, @@ -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, }, } };