Commit 39c87d45 authored by Afzal Mohammed's avatar Afzal Mohammed Committed by Tomi Valkeinen

video: da8xx-fb: simplify lcd_reset

lcd_reset function doesn't require any arguement, remove it.
Signed-off-by: default avatarAfzal Mohammed <afzal@ti.com>
Signed-off-by: default avatarDarren Etheridge <detheridge@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 87dac71d
......@@ -681,7 +681,7 @@ static int fb_setcolreg(unsigned regno, unsigned red, unsigned green,
}
#undef CNVT_TOHW
static void lcd_reset(struct da8xx_fb_par *par)
static void da8xx_fb_lcd_reset(void)
{
/* Disable the Raster if previously Enabled */
lcd_disable_raster(false);
......@@ -721,7 +721,7 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg,
u32 bpp;
int ret = 0;
lcd_reset(par);
da8xx_fb_lcd_reset();
/* Calculate the divider */
lcd_calc_clk_divider(par);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment