aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/da8xx-fb.c
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2013-08-05 18:02:21 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-08-09 07:02:41 -0400
commit39c87d45b24231619440c83376a415a759130360 (patch)
tree9fce14ba2f29f8489d63d6f30dbd8a80001b1f38 /drivers/video/da8xx-fb.c
parent87dac71d6d6bb1ee639f7db663dae59bc6db72b5 (diff)
video: da8xx-fb: simplify lcd_reset
lcd_reset function doesn't require any arguement, remove it. Signed-off-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/da8xx-fb.c')
-rw-r--r--drivers/video/da8xx-fb.c4
1 files changed, 2 insertions, 2 deletions
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,
681} 681}
682#undef CNVT_TOHW 682#undef CNVT_TOHW
683 683
684static void lcd_reset(struct da8xx_fb_par *par) 684static void da8xx_fb_lcd_reset(void)
685{ 685{
686 /* Disable the Raster if previously Enabled */ 686 /* Disable the Raster if previously Enabled */
687 lcd_disable_raster(false); 687 lcd_disable_raster(false);
@@ -721,7 +721,7 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg,
721 u32 bpp; 721 u32 bpp;
722 int ret = 0; 722 int ret = 0;
723 723
724 lcd_reset(par); 724 da8xx_fb_lcd_reset();
725 725
726 /* Calculate the divider */ 726 /* Calculate the divider */
727 lcd_calc_clk_divider(par); 727 lcd_calc_clk_divider(par);