summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2015-10-04 20:15:34 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-08 09:43:18 +0100
commit31418e37019ec188f4201587c7234bfb463e7bf4 (patch)
tree16a47e4007310cdc9184e4f79ac5d95ad132d8d6
parentf40917ea0b976de81d8c77b8c81f9105f363a54b (diff)
downloadlinux-31418e37019ec188f4201587c7234bfb463e7bf4.tar.bz2
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>
-rw-r--r--drivers/staging/sm750fb/ddk750_chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index 057a4c3f7236..2aacb01d2e3d 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -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;