summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2012-08-15 18:12:51 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2012-11-21 15:50:01 +0100
commit6bc1e5eca24744898d93cbefe8f6091ecf1c4753 (patch)
treea06cfa0fc30c3f51640a40b12aa1649d73174d58 /arch
parent1d33a5175135acf6cff0855659910013cb911391 (diff)
downloadblackbird-op-linux-6bc1e5eca24744898d93cbefe8f6091ecf1c4753.tar.gz
blackbird-op-linux-6bc1e5eca24744898d93cbefe8f6091ecf1c4753.zip
sh: ecovec24: Remove unused get_brightness LCDC callback
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c6
1 files changed, 0 insertions, 6 deletions
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,
},
}
};
OpenPOWER on IntegriCloud