video: Remove unnecessary semicolons
authorJoe Perches <joe@perches.com>
Tue, 8 Oct 2013 23:23:24 +0000 (16:23 -0700)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 30 Oct 2013 11:34:52 +0000 (13:34 +0200)
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>
16 files changed:
drivers/video/cfbimgblt.c
drivers/video/cg14.c
drivers/video/cg6.c
drivers/video/exynos/exynos_mipi_dsi_common.c
drivers/video/fsl-diu-fb.c
drivers/video/leo.c
drivers/video/matrox/matroxfb_DAC1064.c
drivers/video/matrox/matroxfb_Ti3026.c
drivers/video/nvidia/nv_hw.c
drivers/video/omap2/displays-new/panel-dsi-cm.c
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dsi.c
drivers/video/sbuslib.c
drivers/video/sysimgblt.c
drivers/video/tcx.c
drivers/video/vt8500lcdfb.c

index baed57d3cfff38e53a9ea37fff3b82e943ba77cd..a2bb276a8b2463eee98eb237c4647bc00cd93601 100644 (file)
@@ -181,7 +181,7 @@ static inline void slow_imageblit(const struct fb_image *image, struct fb_info *
                        }
                        shift += bpp;
                        shift &= (32 - 1);
-                       if (!l) { l = 8; s++; };
+                       if (!l) { l = 8; s++; }
                }
 
                /* write trailing bits */
index 9626488a69c53762902caca5cee237e1ecf197bd..c79745b136bb28bbbe8a2c378c6415e7317c93cf 100644 (file)
@@ -330,7 +330,7 @@ static int cg14_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
                default:
                        ret = -ENOSYS;
                        break;
-               };
+               }
                if (!ret) {
                        sbus_writeb(cur_mode, &regs->mcr);
                        par->mode = mode;
@@ -343,7 +343,7 @@ static int cg14_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
                                          FBTYPE_MDICOLOR, 8,
                                          info->fix.smem_len);
                break;
-       };
+       }
 
        return ret;
 }
index f070ec3b0f0a83b6fe342d706d0a1c931c41e6f1..70781fea092a965d102e3a9d7187c62b7b719d1f 100644 (file)
@@ -624,7 +624,7 @@ static void cg6_init_fix(struct fb_info *info, int linebytes)
        default:
                cg6_cpu_name = "i386";
                break;
-       };
+       }
        if (((conf >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK) >= 11) {
                if (info->fix.smem_len <= 0x100000)
                        cg6_card_name = "TGX";
index 520fc9bd887b46356f8819ff3c215a674675a93d..9b321652b8107125f2eb740df82c85aeb522402e 100644 (file)
@@ -667,7 +667,7 @@ int exynos_mipi_dsi_init_dsim(struct mipi_dsim_device *dsim)
        default:
                dev_info(dsim->dev, "data lane is invalid.\n");
                return -EINVAL;
-       };
+       }
 
        exynos_mipi_dsi_sw_reset(dsim);
        exynos_mipi_dsi_func_reset(dsim);
index 6dd72250111e699952537702d3260603a76dcc0c..6c71bb6b9a6dc8571a254c52c312a56f6a7be9af 100644 (file)
@@ -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,
                        cursor->image.width, cursor->image.height);
-       };
+       }
 
        /*
         * Show or hide the cursor.  The cursor data is always stored in the
index c0f61aa37696fde9029ac1e6e3d14460b3e9709b..2c7f7d479fe2247b61e723ac60ed89fb3250ef55 100644 (file)
@@ -469,7 +469,7 @@ static void leo_wid_put(struct fb_info *info, struct fb_wid_list *wl)
 
                default:
                        continue;
-               };
+               }
                sbus_writel(0x5800 + j, &lx_krn->krn_type);
                sbus_writel(wi->wi_values[0], &lx_krn->krn_value);
        }
index 1717623aabc0d3ff8764557757605badea859c2d..a01147fdf270f5e15416d163a614f1f3db810051 100644 (file)
@@ -494,7 +494,7 @@ static int m1064_compute(void* out, struct my_timming* m) {
                        if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40)
                                break;
                        udelay(10);
-               };
+               }
 
                CRITEND
 
@@ -639,7 +639,7 @@ static void MGAG100_progPixClock(const struct matrox_fb_info *minfo, int flags,
                if (inDAC1064(minfo, M1064_XPIXPLLSTAT) & 0x40)
                        break;
                udelay(10);
-       };
+       }
        if (!clk)
                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;
index 9a44cec394b51598146c5d4626107bebe0d185ed..195ad7cac1baccd70a0b681832c85bd120209d91 100644 (file)
@@ -473,7 +473,7 @@ static void ti3026_setMCLK(struct matrox_fb_info *minfo, int fout)
                if (inTi3026(minfo, TVP3026_XPIXPLLDATA) & 0x40)
                        break;
                udelay(10);
-       };
+       }
        if (!tmout)
                printk(KERN_ERR "matroxfb: Temporary pixel PLL not locked after 5 secs\n");
 
index ed20a9871b33a9b1c1c63a95cc1fcb6948a79cdb..81c80ac3c76f5c8780332621cd1703e7dca29716 100644 (file)
@@ -1300,7 +1300,7 @@ void NVLoadStateExt(struct nvidia_par *par, RIVA_HW_STATE * state)
                                        break;
                                default:
                                        break;
-                               };
+                               }
 
                                NV_WR32(par->PGRAPH, 0x0b38, 0x2ffff800);
                                NV_WR32(par->PGRAPH, 0x0b3c, 0x00006000);
index aaaea6469cd9ebe723bd332f272a6dba76366c53..b7baafe83aa3ddc3556281e08b356adbf9c84198 100644 (file)
@@ -599,7 +599,7 @@ static int dsicm_power_on(struct panel_drv_data *ddata)
        if (r) {
                dev_err(&ddata->pdev->dev, "failed to configure DSI pins\n");
                goto err0;
-       };
+       }
 
        r = in->ops.dsi->set_config(in, &dsi_config);
        if (r) {
index 8fbeb299fac391604b0077e325b3f09c234bd290..91c687fd002e5447d466b6e8e75f9c0c03dac32c 100644 (file)
@@ -2918,7 +2918,7 @@ static void _dispc_mgr_set_lcd_timings(enum omap_channel channel, int hsw,
                break;
        default:
                BUG();
-       };
+       }
 
        l = dispc_read_reg(DISPC_POL_FREQ(channel));
        l |= FLD_VAL(onoff, 17, 17);
index 64b1a81b3afcf8c8dfd980b3b712f1e1e53dcf2d..6056b27cf73c1c5a2cd9d49168ce40c4fa8dd2ae 100644 (file)
@@ -4066,7 +4066,7 @@ static int dsi_enable_video_output(struct omap_dss_device *dssdev, int channel)
                default:
                        r = -EINVAL;
                        goto err_pix_fmt;
-               };
+               }
 
                dsi_if_enable(dsidev, false);
                dsi_vc_enable(dsidev, channel, false);
index 296afae442f4853cf1a0ddb81d4bd2df15eaaa2a..a350209ffbd3d1d67d918872f282782f0ec6f791 100644 (file)
@@ -186,7 +186,7 @@ int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg,
        }
        default:
                return -EINVAL;
-       };
+       }
 }
 EXPORT_SYMBOL(sbusfb_ioctl_helper);
 
index 186c6f607be2b821ee72c3bd437eeed86a339490..a4d05b1b17d7da6dfdebcf6c7df3f538cbb982e6 100644 (file)
@@ -152,7 +152,7 @@ static void slow_imageblit(const struct fb_image *image, struct fb_info *p,
                        }
                        shift += bpp;
                        shift &= (32 - 1);
-                       if (!l) { l = 8; s++; };
+                       if (!l) { l = 8; s++; }
                }
 
                /* write trailing bits */
index 1f3a3271f3dd41b5f7217643ff4e01063aa32e98..7fb2d696fac7f6c9b77c2688ff05bda319ff957e 100644 (file)
@@ -232,7 +232,7 @@ tcx_blank(int blank, struct fb_info *info)
 
        case FB_BLANK_POWERDOWN: /* Poweroff */
                break;
-       };
+       }
 
        sbus_writel(val, &thc->thc_misc);
 
@@ -434,7 +434,7 @@ static int tcx_probe(struct platform_device *op)
                default:
                        j = i;
                        break;
-               };
+               }
                par->mmap_map[i].poff = op->resource[j].start;
        }
 
index 897484903c305d59588529ab616a6cb5d9260bcd..b30e5a439d1f968679c4b0ce80eb918f7e1678b5 100644 (file)
@@ -365,7 +365,7 @@ static int vt8500lcd_probe(struct platform_device *pdev)
        if (!fb_mem_virt) {
                pr_err("%s: Failed to allocate framebuffer\n", __func__);
                return -ENOMEM;
-       };
+       }
 
        fbi->fb.fix.smem_start  = fb_mem_phys;
        fbi->fb.fix.smem_len    = fb_mem_len;