提交 39c87d45 编写于 作者: A Afzal Mohammed 提交者: Tomi Valkeinen

video: da8xx-fb: simplify lcd_reset

lcd_reset function doesn't require any arguement, remove it.
Signed-off-by: NAfzal Mohammed <afzal@ti.com>
Signed-off-by: NDarren Etheridge <detheridge@ti.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 87dac71d
...@@ -681,7 +681,7 @@ static int fb_setcolreg(unsigned regno, unsigned red, unsigned green, ...@@ -681,7 +681,7 @@ static int fb_setcolreg(unsigned regno, unsigned red, unsigned green,
} }
#undef CNVT_TOHW #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 */ /* Disable the Raster if previously Enabled */
lcd_disable_raster(false); lcd_disable_raster(false);
...@@ -721,7 +721,7 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg, ...@@ -721,7 +721,7 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg,
u32 bpp; u32 bpp;
int ret = 0; int ret = 0;
lcd_reset(par); da8xx_fb_lcd_reset();
/* Calculate the divider */ /* Calculate the divider */
lcd_calc_clk_divider(par); lcd_calc_clk_divider(par);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册