From: Shawn Guo Date: Wed, 13 Mar 2013 06:28:19 +0000 (+0800) Subject: video: mxsfb: remove dotclk_delay from platform_data X-Git-Tag: firefly_0821_release~3680^2~545^2~10^2~16 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36f3e99649baa77b2d22e385b2ea09e8f308c905;p=firefly-linux-kernel-4.4.55.git video: mxsfb: remove dotclk_delay from platform_data There is no in-tree mxsfb users using mxsfb_platform_data dotclk_delay. Let's remove it from mxsfb_platform_data to ease full device tree adoption of mxsfb driver. If later we have platform/board need to configure this parameter, we can add it into device tree bindings. Signed-off-by: Shawn Guo --- diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 9e8740bade32..a89901c7f5e9 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -701,7 +701,6 @@ static int mxsfb_init_fbinfo(struct mxsfb_info *host) var->accel_flags = 0; var->vmode = FB_VMODE_NONINTERLACED; - host->dotclk_delay = pdata->dotclk_delay; host->ld_intf_width = pdata->ld_intf_width; /* Memory allocation for framebuffer */ diff --git a/include/linux/mxsfb.h b/include/linux/mxsfb.h index 93696404ee55..b78465cdb26e 100644 --- a/include/linux/mxsfb.h +++ b/include/linux/mxsfb.h @@ -33,7 +33,6 @@ struct mxsfb_platform_data { unsigned default_bpp; - unsigned dotclk_delay; /* refer manual HW_LCDIF_VDCTRL4 register */ unsigned ld_intf_width; /* refer STMLCDIF_* macros */ u32 sync; /* sync mask, contains MXSFB specifics not * carried in fb_info->var.sync