aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-13 02:28:19 -0400
committerShawn Guo <shawn.guo@linaro.org>2013-04-04 09:22:41 -0400
commit36f3e99649baa77b2d22e385b2ea09e8f308c905 (patch)
treea1b64976820ac3fb5a28d77adf22f6d996e321ff
parent4aa02c7cbb6816913554dc18ff750a70a4ace796 (diff)
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 <shawn.guo@linaro.org>
-rw-r--r--drivers/video/mxsfb.c1
-rw-r--r--include/linux/mxsfb.h1
2 files changed, 0 insertions, 2 deletions
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)
701 var->accel_flags = 0; 701 var->accel_flags = 0;
702 var->vmode = FB_VMODE_NONINTERLACED; 702 var->vmode = FB_VMODE_NONINTERLACED;
703 703
704 host->dotclk_delay = pdata->dotclk_delay;
705 host->ld_intf_width = pdata->ld_intf_width; 704 host->ld_intf_width = pdata->ld_intf_width;
706 705
707 /* Memory allocation for framebuffer */ 706 /* 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 {
33 33
34 unsigned default_bpp; 34 unsigned default_bpp;
35 35
36 unsigned dotclk_delay; /* refer manual HW_LCDIF_VDCTRL4 register */
37 unsigned ld_intf_width; /* refer STMLCDIF_* macros */ 36 unsigned ld_intf_width; /* refer STMLCDIF_* macros */
38 u32 sync; /* sync mask, contains MXSFB specifics not 37 u32 sync; /* sync mask, contains MXSFB specifics not
39 * carried in fb_info->var.sync 38 * carried in fb_info->var.sync