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>
This commit is contained in:
parent
1d33a51751
commit
6bc1e5eca2
1 changed files with 0 additions and 6 deletions
|
@ -329,11 +329,6 @@ static int ecovec24_set_brightness(int brightness)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ecovec24_get_brightness(void)
|
|
||||||
{
|
|
||||||
return gpio_get_value(GPIO_PTR1);
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct sh_mobile_lcdc_info lcdc_info = {
|
static struct sh_mobile_lcdc_info lcdc_info = {
|
||||||
.ch[0] = {
|
.ch[0] = {
|
||||||
.interface_type = RGB18,
|
.interface_type = RGB18,
|
||||||
|
@ -347,7 +342,6 @@ static struct sh_mobile_lcdc_info lcdc_info = {
|
||||||
.name = "sh_mobile_lcdc_bl",
|
.name = "sh_mobile_lcdc_bl",
|
||||||
.max_brightness = 1,
|
.max_brightness = 1,
|
||||||
.set_brightness = ecovec24_set_brightness,
|
.set_brightness = ecovec24_set_brightness,
|
||||||
.get_brightness = ecovec24_get_brightness,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue