]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
staging: sm750fb: Add space around '?'
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sun, 4 Oct 2015 14:45:34 +0000 (20:15 +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 057a4c3f7236cf7d97aede7e9218031ba75a16a8..2aacb01d2e3d5c00c13b424d622f0a9138755104 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;