From: Scott Matheina Date: Tue, 10 Jan 2017 02:23:26 +0000 (-0600) Subject: staging:sm750fb:ddk750_chip.c Adds braces to last arm of statement X-Git-Tag: v5.15~11841^2~384 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87f0f086c640c1f54d39a5276825b837c33cee64;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index f59ce5c..ec33f1f 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)