sh: ap325rxa: 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
4c108530db
commit
1d33a51751
|
@ -179,11 +179,6 @@ static int ap320_wvga_set_brightness(int brightness)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ap320_wvga_get_brightness(void)
|
|
||||||
{
|
|
||||||
return gpio_get_value(GPIO_PTS3);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void ap320_wvga_power_on(void)
|
static void ap320_wvga_power_on(void)
|
||||||
{
|
{
|
||||||
msleep(100);
|
msleep(100);
|
||||||
|
@ -232,7 +227,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 = ap320_wvga_set_brightness,
|
.set_brightness = ap320_wvga_set_brightness,
|
||||||
.get_brightness = ap320_wvga_get_brightness,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue