Skip to content

Commit

Permalink
video: mxsfb: remove dotclk_delay from platform_data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn Guo committed Apr 4, 2013
1 parent 4aa02c7 commit 36f3e99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/video/mxsfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 0 additions & 1 deletion include/linux/mxsfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36f3e99

Please sign in to comment.