summaryrefslogtreecommitdiff
path: root/drivers/staging/sm750fb
diff options
context:
space:
mode:
authorScott Matheina <scott@matheina.com>2017-01-09 20:23:26 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-10 17:40:15 +0100
commit87f0f086c640c1f54d39a5276825b837c33cee64 (patch)
treef0cf87338919652b8bcccbff35aa7087fbdb048b /drivers/staging/sm750fb
parent3dd312b464a12fca1849e549a869ac211fbad4c8 (diff)
staging:sm750fb:ddk750_chip.c Adds braces to last arm of statement
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>
Diffstat (limited to 'drivers/staging/sm750fb')
-rw-r--r--drivers/staging/sm750fb/ddk750_chip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index f59ce5c0867d..ec33f1ffa3e3 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -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)