]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: au8522: improve formatting
authorDaniel W. S. Almeida <dwlsalmeida@gmail.com>
Tue, 12 Nov 2019 19:54:45 +0000 (20:54 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 8 Jan 2020 10:45:50 +0000 (11:45 +0100)
This patch fixes the following scripts/checkpatch.pl errors:

ERROR: space required before the open parenthesis '('
+ switch(input) {

Suggested-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/dvb-frontends/au8522_decoder.c

index c1717dde874b469be44cad505e101c7c68a76034..8cdca051e51bf3b32324de5ca5dbc3ee1189ebb0 100644 (file)
@@ -562,7 +562,7 @@ static int au8522_s_video_routing(struct v4l2_subdev *sd,
 {
        struct au8522_state *state = to_state(sd);
 
-       switch(input) {
+       switch (input) {
        case AU8522_COMPOSITE_CH1:
        case AU8522_SVIDEO_CH13:
        case AU8522_COMPOSITE_CH4_SIF: