]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: sm750fb: Add space around '*'
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Sun, 4 Oct 2015 14:42:30 +0000 (20:12 +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 8d167fc08f833fa79bc12459e741aabfce535fac..057a4c3f7236cf7d97aede7e9218031ba75a16a8 100644 (file)
@@ -407,10 +407,10 @@ unsigned int calcPllValue(unsigned int request_orig, pll_value_t *pll)
 
                for (d = xcnt - 1; d >= 0; d--) {
                        X = xparm[d].value;
-                       M = quo*X;
+                       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;