sh: ecovec24: Remove unused get_brightness LCDC callback
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 15 Aug 2012 16:12:51 +0000 (18:12 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 21 Nov 2012 14:50:01 +0000 (15:50 +0100)
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-ecovec24/setup.c

index 64559e8af14b3e7aa3dad26d0f2dc3e07e1edf2c..3fede4556c91eee6ae7e5aa7a449675710254150 100644 (file)
@@ -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,
                },
        }
 };