From: Afzal Mohammed Date: Mon, 5 Aug 2013 22:02:21 +0000 (-0500) Subject: video: da8xx-fb: simplify lcd_reset X-Git-Tag: firefly_0821_release~176^2~5425^2~13^2~18 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=39c87d45b24231619440c83376a415a759130360;p=firefly-linux-kernel-4.4.55.git video: da8xx-fb: simplify lcd_reset lcd_reset function doesn't require any arguement, remove it. Signed-off-by: Afzal Mohammed Signed-off-by: Darren Etheridge Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index d00dd173e3af..52977b14425f 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -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);