sh: ap325rxa: Remove unused get_brightness LCDC callback
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 15 Aug 2012 16:12:20 +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-ap325rxa/setup.c

index 9e963c1d14474c0e819358145b1c0f832315d79a..5620e33c18a0bef4f2874eead2bd4d175e8d4821 100644 (file)
@@ -179,11 +179,6 @@ static int ap320_wvga_set_brightness(int brightness)
        return 0;
 }
 
-static int ap320_wvga_get_brightness(void)
-{
-       return gpio_get_value(GPIO_PTS3);
-}
-
 static void ap320_wvga_power_on(void)
 {
        msleep(100);
@@ -232,7 +227,6 @@ static struct sh_mobile_lcdc_info lcdc_info = {
                        .name = "sh_mobile_lcdc_bl",
                        .max_brightness = 1,
                        .set_brightness = ap320_wvga_set_brightness,
-                       .get_brightness = ap320_wvga_get_brightness,
                },
        }
 };