static int s5p_jpeg_get_dwngrd_sch_id_by_fourcc(u32 fourcc)
 {
        int i;
+
        for (i = 0; i < ARRAY_SIZE(fourcc_to_dwngrd_schema_id); ++i) {
                if (fourcc_to_dwngrd_schema_id[i] == fourcc)
                        return i;
                        if (num == f->index)
                                break;
                        /* Correct type but haven't reached our index yet,
-                        * just increment per-type index */
+                        * just increment per-type index
+                        */
                        ++num;
                }
        }
        pix->bytesperline = 0;
        if (q_data->fmt->fourcc != V4L2_PIX_FMT_JPEG) {
                u32 bpl = q_data->w;
+
                if (q_data->fmt->colplanes == 1)
                        bpl = (bpl * q_data->fmt->depth) >> 3;
                pix->bytesperline = bpl;
 
        for (k = 0; k < ARRAY_SIZE(sjpeg_formats); k++) {
                struct s5p_jpeg_fmt *fmt = &sjpeg_formats[k];
+
                if (fmt->fourcc == pixelformat &&
                    fmt->flags & fmt_flag &&
                    fmt->flags & ctx->jpeg->variant->fmt_ver_flag) {
                return -EINVAL;
 
        /* V4L2 specification suggests the driver corrects the format struct
-        * if any of the dimensions is unsupported */
+        * if any of the dimensions is unsupported
+        */
        if (q_type == FMT_TYPE_OUTPUT)
                jpeg_bound_align_image(ctx, &pix->width, S5P_JPEG_MIN_WIDTH,
                                       S5P_JPEG_MAX_WIDTH, 0,
        if (ctx->mode == S5P_JPEG_DECODE &&
            vb->vb2_queue->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) {
                struct s5p_jpeg_q_data tmp, *q_data;
+
                ctx->hdr_parsed = s5p_jpeg_parse_hdr(&tmp,
                     (unsigned long)vb2_plane_vaddr(vb, 0),
                     min((unsigned long)ctx->out_q.size,
 
 static const struct dev_pm_ops s5p_jpeg_pm_ops = {
        SET_SYSTEM_SLEEP_PM_OPS(s5p_jpeg_suspend, s5p_jpeg_resume)
-       SET_RUNTIME_PM_OPS(s5p_jpeg_runtime_suspend, s5p_jpeg_runtime_resume, NULL)
+       SET_RUNTIME_PM_OPS(s5p_jpeg_runtime_suspend, s5p_jpeg_runtime_resume,
+                          NULL)
 };
 
 static struct s5p_jpeg_variant s5p_jpeg_drvdata = {