staging:sm750fb:ddk750_chip.c Adds braces to last arm of statement
authorScott Matheina <scott@matheina.com>
Tue, 10 Jan 2017 02:23:26 +0000 (20:23 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:40:15 +0000 (17:40 +0100)
Fixes absence of braces on last arm of statement, identified by
checkpatch

Signed-off-by: Scott Matheina <scott@matheina.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c

index f59ce5c0867dc375497e15de5cfa23d0c86c0b0b..ec33f1ffa3e35206787922b87a483df16be62e7f 100644 (file)
@@ -25,8 +25,9 @@ void sm750_set_chip_type(unsigned short devId, u8 revId)
                        chip = SM750LE;
                        pr_info("found sm750le\n");
                }
-       } else
+       } else {
                chip = SM_UNKNOWN;
+       }
 }
 
 static unsigned int get_mxclk_freq(void)