ARM: mach-shmobile: mackerel: Removed unused get_brightness callback
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 15 Aug 2012 16:11:26 +0000 (18:11 +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: Simon Horman <horms@verge.net.au>
arch/arm/mach-shmobile/board-mackerel.c

index 0c27c810cf99d0906b655f298091ffab257644fc..bfd2dc83d99546e168a4ef2978c4b10b1b72144b 100644 (file)
@@ -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,
@@ -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,
        }