summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2015-10-04 20:12:30 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-08 09:43:18 +0100
commitf40917ea0b976de81d8c77b8c81f9105f363a54b (patch)
tree2377594a8469c3d0d885c1a6e57c94d346d847b8 /drivers/staging/sm750fb
parentc18c331193b2270a5d47f4108ab0fc2bf97c3b51 (diff)
staging: sm750fb: Add space around '*'
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>
Diffstat (limited to 'drivers/staging/sm750fb')
-rw-r--r--drivers/staging/sm750fb/ddk750_chip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 8d167fc08f83..057a4c3f7236 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -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;