video: ssd1307fb: Remove unneeded semicolons
authorMarko Kohtala <marko.kohtala@okoko.fi>
Tue, 18 Jun 2019 07:41:07 +0000 (10:41 +0300)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 23 Jul 2019 15:17:53 +0000 (17:17 +0200)
coccicheck reported unneeded semicolons. Remove them.

Signed-off-by: Marko Kohtala <marko.kohtala@okoko.fi>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190618074111.9309-3-marko.kohtala@okoko.fi
drivers/video/fbdev/ssd1307fb.c

index 0597f24bd5be6dbd546ed731e1ffc22102e5f9fa..c03940b03f95d0a62040c7034c5f995b57caad71 100644 (file)
@@ -312,7 +312,7 @@ static int ssd1307fb_init(struct ssd1307fb_par *par)
 
                dev_dbg(&par->client->dev, "Using PWM%d with a %dns period.\n",
                        par->pwm->pwm, par->pwm_period);
-       };
+       }
 
        /* Set initial contrast */
        ret = ssd1307fb_write_cmd(par->client, SSD1307FB_CONTRAST);
@@ -328,7 +328,7 @@ static int ssd1307fb_init(struct ssd1307fb_par *par)
                ret = ssd1307fb_write_cmd(par->client, SSD1307FB_SEG_REMAP_ON);
                if (ret < 0)
                        return ret;
-       };
+       }
 
        /* Set COM direction */
        com_invdir = 0xc0 | (par->com_invdir & 0x1) << 3;
@@ -713,7 +713,7 @@ panel_init_error:
        if (par->device_info->need_pwm) {
                pwm_disable(par->pwm);
                pwm_put(par->pwm);
-       };
+       }
 regulator_enable_error:
        if (par->vbat_reg)
                regulator_disable(par->vbat_reg);
@@ -737,7 +737,7 @@ static int ssd1307fb_remove(struct i2c_client *client)
        if (par->device_info->need_pwm) {
                pwm_disable(par->pwm);
                pwm_put(par->pwm);
-       };
+       }
        fb_deferred_io_cleanup(info);
        __free_pages(__va(info->fix.smem_start), get_order(info->fix.smem_len));
        framebuffer_release(info);