Skip to contentSkip to conversation

video: da8xx-fb: simplify lcd_reset

PATCH In review Darren Etheridge 1 participant 1 message Aug 5, 2013 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH v3 2/20 video: da8xx-fb: simplify lcd_reset

From: Afzal Mohammed <[email protected]>

lcd_reset function doesn't require any arguement, remove it.

---
 drivers/video/da8xx-fb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/da8xx-fb.c +2 -2
index d00dd17..52977b1 100644
@@ -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);
Signature · 1 line
1.7.0.4