[media] gs1662: make checkpatch happy
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 17:39:49 +0000 (14:39 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 17:39:49 +0000 (14:39 -0300)
commit3c3ba5452e8a0e2dd9fb89222feb88f11ec6ff7a
tree244237952fc0525afb9693e1d869b1d04ff33b0e
parent8283a0929922b331dbd73db26520443136941c48
[media] gs1662: make checkpatch happy

WARNING: line over 80 characters
+      GS_HEIGHT_MAX, GS_PIXELCLOCK_MIN, GS_PIXELCLOCK_MAX,

WARNING: line over 80 characters
+ if (v4l2_match_dv_timings(timings, &reg_fmt[i].format, 0, false))

WARNING: Block comments use a trailing */ on a separate line
+  * which looks like a video signal activity.*/

WARNING: else is not generally useful after a break or return
+ return gs_write_register(gs->pdev, REG_FORCE_FMT, reg_value);
+ } else {

WARNING: Block comments use a trailing */ on a separate line
+  * which looks like a video signal activity.*/

ERROR: spaces required around that '=' (ctx:VxW)
+ .enum_dv_timings= gs_enum_dv_timings,
                  ^

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/spi/gs1662.c