]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: sm750fb: Add space around ':'
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sun, 4 Oct 2015 14:48:32 +0000 (20:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 08:43:18 +0000 (09:43 +0100)
Add space around operator ':'. Problem found using
checkpatch.pl
CHECK: spaces preferred around that ':' (ctx:VxV)

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c

index 2aacb01d2e3d5c00c13b424d622f0a9138755104..03e259da622efc8495f06cfd1c43c42be3349b32 100644 (file)
@@ -410,7 +410,7 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
                        M = quo * X;
                        M += fl_quo * X / 10000;
                        /* round step */
-                       M += (fl_quo * X % 10000) > 5000 ? 1:0;
+                       M += (fl_quo * X % 10000) > 5000 ? 1 : 0;
                        if (M < 256 && M > 0) {
                                unsigned int diff;