mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 02:27:51 +07:00
video: Remove unnecessary semicolons
These aren't necessary after switch, for, and if blocks. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
9e210be68a
commit
cf6ac4ce1b
@ -181,7 +181,7 @@ static inline void slow_imageblit(const struct fb_image *image, struct fb_info *
|
|||||||
}
|
}
|
||||||
shift += bpp;
|
shift += bpp;
|
||||||
shift &= (32 - 1);
|
shift &= (32 - 1);
|
||||||
if (!l) { l = 8; s++; };
|
if (!l) { l = 8; s++; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* write trailing bits */
|
/* write trailing bits */
|
||||||
|
@ -330,7 +330,7 @@ static int cg14_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
|
|||||||
default:
|
default:
|
||||||
ret = -ENOSYS;
|
ret = -ENOSYS;
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
sbus_writeb(cur_mode, ®s->mcr);
|
sbus_writeb(cur_mode, ®s->mcr);
|
||||||
par->mode = mode;
|
par->mode = mode;
|
||||||
@ -343,7 +343,7 @@ static int cg14_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
|
|||||||
FBTYPE_MDICOLOR, 8,
|
FBTYPE_MDICOLOR, 8,
|
||||||
info->fix.smem_len);
|
info->fix.smem_len);
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -624,7 +624,7 @@ static void cg6_init_fix(struct fb_info *info, int linebytes)
|
|||||||
default:
|
default:
|
||||||
cg6_cpu_name = "i386";
|
cg6_cpu_name = "i386";
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
if (((conf >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK) >= 11) {
|
if (((conf >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK) >= 11) {
|
||||||
if (info->fix.smem_len <= 0x100000)
|
if (info->fix.smem_len <= 0x100000)
|
||||||
cg6_card_name = "TGX";
|
cg6_card_name = "TGX";
|
||||||
|
@ -667,7 +667,7 @@ int exynos_mipi_dsi_init_dsim(struct mipi_dsim_device *dsim)
|
|||||||
default:
|
default:
|
||||||
dev_info(dsim->dev, "data lane is invalid.\n");
|
dev_info(dsim->dev, "data lane is invalid.\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
};
|
}
|
||||||
|
|
||||||
exynos_mipi_dsi_sw_reset(dsim);
|
exynos_mipi_dsi_sw_reset(dsim);
|
||||||
exynos_mipi_dsi_func_reset(dsim);
|
exynos_mipi_dsi_func_reset(dsim);
|
||||||
|
@ -1102,7 +1102,7 @@ static int fsl_diu_cursor(struct fb_info *info, struct fb_cursor *cursor)
|
|||||||
|
|
||||||
fsl_diu_load_cursor_image(info, image, bg, fg,
|
fsl_diu_load_cursor_image(info, image, bg, fg,
|
||||||
cursor->image.width, cursor->image.height);
|
cursor->image.width, cursor->image.height);
|
||||||
};
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Show or hide the cursor. The cursor data is always stored in the
|
* Show or hide the cursor. The cursor data is always stored in the
|
||||||
|
@ -469,7 +469,7 @@ static void leo_wid_put(struct fb_info *info, struct fb_wid_list *wl)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
continue;
|
continue;
|
||||||
};
|
}
|
||||||
sbus_writel(0x5800 + j, &lx_krn->krn_type);
|
sbus_writel(0x5800 + j, &lx_krn->krn_type);
|
||||||
sbus_writel(wi->wi_values[0], &lx_krn->krn_value);
|
sbus_writel(wi->wi_values[0], &lx_krn->krn_value);
|
||||||
}
|
}
|
||||||
|
@ -494,7 +494,7 @@ static int m1064_compute(void* out, struct my_timming* m) {
|
|||||||
if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40)
|
if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40)
|
||||||
break;
|
break;
|
||||||
udelay(10);
|
udelay(10);
|
||||||
};
|
}
|
||||||
|
|
||||||
CRITEND
|
CRITEND
|
||||||
|
|
||||||
@ -639,7 +639,7 @@ static void MGAG100_progPixClock(const struct matrox_fb_info *minfo, int flags,
|
|||||||
if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40)
|
if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40)
|
||||||
break;
|
break;
|
||||||
udelay(10);
|
udelay(10);
|
||||||
};
|
}
|
||||||
if (!clk)
|
if (!clk)
|
||||||
printk(KERN_ERR "matroxfb: Pixel PLL%c not locked after usual time\n", (reg-M1064_XPIXPLLAM-2)/4 + 'A');
|
printk(KERN_ERR "matroxfb: Pixel PLL%c not locked after usual time\n", (reg-M1064_XPIXPLLAM-2)/4 + 'A');
|
||||||
selClk = inDAC1064(minfo, M1064_XPIXCLKCTRL) & ~M1064_XPIXCLKCTRL_SRC_MASK;
|
selClk = inDAC1064(minfo, M1064_XPIXCLKCTRL) & ~M1064_XPIXCLKCTRL_SRC_MASK;
|
||||||
|
@ -473,7 +473,7 @@ static void ti3026_setMCLK(struct matrox_fb_info *minfo, int fout)
|
|||||||
if (inTi3026(minfo, TVP3026_XPIXPLLDATA) & 0x40)
|
if (inTi3026(minfo, TVP3026_XPIXPLLDATA) & 0x40)
|
||||||
break;
|
break;
|
||||||
udelay(10);
|
udelay(10);
|
||||||
};
|
}
|
||||||
if (!tmout)
|
if (!tmout)
|
||||||
printk(KERN_ERR "matroxfb: Temporary pixel PLL not locked after 5 secs\n");
|
printk(KERN_ERR "matroxfb: Temporary pixel PLL not locked after 5 secs\n");
|
||||||
|
|
||||||
|
@ -1300,7 +1300,7 @@ void NVLoadStateExt(struct nvidia_par *par, RIVA_HW_STATE * state)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
NV_WR32(par->PGRAPH, 0x0b38, 0x2ffff800);
|
NV_WR32(par->PGRAPH, 0x0b38, 0x2ffff800);
|
||||||
NV_WR32(par->PGRAPH, 0x0b3c, 0x00006000);
|
NV_WR32(par->PGRAPH, 0x0b3c, 0x00006000);
|
||||||
|
@ -599,7 +599,7 @@ static int dsicm_power_on(struct panel_drv_data *ddata)
|
|||||||
if (r) {
|
if (r) {
|
||||||
dev_err(&ddata->pdev->dev, "failed to configure DSI pins\n");
|
dev_err(&ddata->pdev->dev, "failed to configure DSI pins\n");
|
||||||
goto err0;
|
goto err0;
|
||||||
};
|
}
|
||||||
|
|
||||||
r = in->ops.dsi->set_config(in, &dsi_config);
|
r = in->ops.dsi->set_config(in, &dsi_config);
|
||||||
if (r) {
|
if (r) {
|
||||||
|
@ -2918,7 +2918,7 @@ static void _dispc_mgr_set_lcd_timings(enum omap_channel channel, int hsw,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
BUG();
|
BUG();
|
||||||
};
|
}
|
||||||
|
|
||||||
l = dispc_read_reg(DISPC_POL_FREQ(channel));
|
l = dispc_read_reg(DISPC_POL_FREQ(channel));
|
||||||
l |= FLD_VAL(onoff, 17, 17);
|
l |= FLD_VAL(onoff, 17, 17);
|
||||||
|
@ -4066,7 +4066,7 @@ static int dsi_enable_video_output(struct omap_dss_device *dssdev, int channel)
|
|||||||
default:
|
default:
|
||||||
r = -EINVAL;
|
r = -EINVAL;
|
||||||
goto err_pix_fmt;
|
goto err_pix_fmt;
|
||||||
};
|
}
|
||||||
|
|
||||||
dsi_if_enable(dsidev, false);
|
dsi_if_enable(dsidev, false);
|
||||||
dsi_vc_enable(dsidev, channel, false);
|
dsi_vc_enable(dsidev, channel, false);
|
||||||
|
@ -186,7 +186,7 @@ int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg,
|
|||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(sbusfb_ioctl_helper);
|
EXPORT_SYMBOL(sbusfb_ioctl_helper);
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ static void slow_imageblit(const struct fb_image *image, struct fb_info *p,
|
|||||||
}
|
}
|
||||||
shift += bpp;
|
shift += bpp;
|
||||||
shift &= (32 - 1);
|
shift &= (32 - 1);
|
||||||
if (!l) { l = 8; s++; };
|
if (!l) { l = 8; s++; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* write trailing bits */
|
/* write trailing bits */
|
||||||
|
@ -232,7 +232,7 @@ tcx_blank(int blank, struct fb_info *info)
|
|||||||
|
|
||||||
case FB_BLANK_POWERDOWN: /* Poweroff */
|
case FB_BLANK_POWERDOWN: /* Poweroff */
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
sbus_writel(val, &thc->thc_misc);
|
sbus_writel(val, &thc->thc_misc);
|
||||||
|
|
||||||
@ -434,7 +434,7 @@ static int tcx_probe(struct platform_device *op)
|
|||||||
default:
|
default:
|
||||||
j = i;
|
j = i;
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
par->mmap_map[i].poff = op->resource[j].start;
|
par->mmap_map[i].poff = op->resource[j].start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ static int vt8500lcd_probe(struct platform_device *pdev)
|
|||||||
if (!fb_mem_virt) {
|
if (!fb_mem_virt) {
|
||||||
pr_err("%s: Failed to allocate framebuffer\n", __func__);
|
pr_err("%s: Failed to allocate framebuffer\n", __func__);
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
};
|
}
|
||||||
|
|
||||||
fbi->fb.fix.smem_start = fb_mem_phys;
|
fbi->fb.fix.smem_start = fb_mem_phys;
|
||||||
fbi->fb.fix.smem_len = fb_mem_len;
|
fbi->fb.fix.smem_len = fb_mem_len;
|
||||||
|
Loading…
Reference in New Issue
Block a user