diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-18 12:26:50 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 22:40:51 +0100 |
commit | 5864ace19a2546912308e94432c1cf52d5945afe (patch) | |
tree | bc8e9e3fecfef8f9cdea0c4720ddd2e18da0bf46 /drivers/video/sh_mobile_hdmi.c | |
parent | bce95fe838a5ca84e57411338b953be672c2a5eb (diff) | |
download | linux-5864ace19a2546912308e94432c1cf52d5945afe.tar.gz linux-5864ace19a2546912308e94432c1cf52d5945afe.tar.bz2 linux-5864ace19a2546912308e94432c1cf52d5945afe.zip |
fbdev: sh_mobile_lcdc: Remove fb_info parameter to display_on operation
The parameter is unused, remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/video/sh_mobile_hdmi.c')
-rw-r--r-- | drivers/video/sh_mobile_hdmi.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/video/sh_mobile_hdmi.c b/drivers/video/sh_mobile_hdmi.c index bd885ee78d54..c22e123ec401 100644 --- a/drivers/video/sh_mobile_hdmi.c +++ b/drivers/video/sh_mobile_hdmi.c @@ -1000,16 +1000,11 @@ static irqreturn_t sh_hdmi_hotplug(int irq, void *dev_id) return IRQ_HANDLED; } -/* locking: called with info->lock held, or before register_framebuffer() */ -static int sh_hdmi_display_on(struct sh_mobile_lcdc_entity *entity, - struct fb_info *info) +static int sh_hdmi_display_on(struct sh_mobile_lcdc_entity *entity) { - /* - * info is guaranteed to be valid, when we are called, because our - * FB_EVENT_FB_UNBIND notify is also called with info->lock held - */ struct sh_hdmi *hdmi = entity_to_sh_hdmi(entity); struct sh_mobile_lcdc_chan *ch = entity->lcdc; + struct fb_info *info = ch->info; dev_dbg(hdmi->dev, "%s(%p): state %x\n", __func__, hdmi, info->state); @@ -1156,7 +1151,7 @@ static void sh_hdmi_edid_work_fn(struct work_struct *work) */ info->var.width = hdmi->var.width; info->var.height = hdmi->var.height; - sh_hdmi_display_on(&hdmi->entity, info); + sh_hdmi_display_on(&hdmi->entity); } else { /* New monitor or have to wake up */ fb_set_suspend(info, 0); |