From: Juston Li <juston.h.li@gmail.com>
To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com,
gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Juston Li <juston.h.li@gmail.com>
Subject: [PATCH v5 02/19] staging: sm750fb: remove spacing after open parenthesis
Date: Wed, 15 Jul 2015 04:14:31 +0000 [thread overview]
Message-ID: <1436933688-5408-2-git-send-email-juston.h.li@gmail.com> (raw)
In-Reply-To: <CAFow2F9-0W4VRjLHmXZuv2vCwyGYRDatbCOrmg5o-AY0-nb-dw@mail.gmail.com>
Fixes checkpatch.pl warning:
ERROR: space prohibited after that open parenthesis '('
Signed-off-by: Juston Li <juston.h.li@gmail.com>
---
drivers/staging/sm750fb/ddk750_chip.c | 6 +++---
drivers/staging/sm750fb/ddk750_mode.c | 2 +-
drivers/staging/sm750fb/ddk750_power.c | 8 ++++----
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
index f4975d2..1069a2d 100644
--- a/drivers/staging/sm750fb/ddk750_chip.c
+++ b/drivers/staging/sm750fb/ddk750_chip.c
@@ -599,9 +599,9 @@ unsigned int formatPllReg(pll_value_t *pPLL)
On returning a 32 bit number, the value can be applied to any PLL in the calling function.
*/
ulPllReg - FIELD_SET( 0, PANEL_PLL_CTRL, BYPASS, OFF)
- | FIELD_SET( 0, PANEL_PLL_CTRL, POWER, ON)
- | FIELD_SET( 0, PANEL_PLL_CTRL, INPUT, OSC)
+ FIELD_SET(0, PANEL_PLL_CTRL, BYPASS, OFF)
+ | FIELD_SET(0, PANEL_PLL_CTRL, POWER, ON)
+ | FIELD_SET(0, PANEL_PLL_CTRL, INPUT, OSC)
#ifndef VALIDATION_CHIP
| FIELD_VALUE(0, PANEL_PLL_CTRL, POD, pPLL->POD)
#endif
diff --git a/drivers/staging/sm750fb/ddk750_mode.c b/drivers/staging/sm750fb/ddk750_mode.c
index 1f93d07..31424b2 100644
--- a/drivers/staging/sm750fb/ddk750_mode.c
+++ b/drivers/staging/sm750fb/ddk750_mode.c
@@ -43,7 +43,7 @@ static unsigned long displayControlAdjust_SM750LE(mode_parameter_t *pModeParam,
/* Set bit 29:27 of display control register for the right clock */
/* Note that SM750LE only need to supported 7 resoluitons. */
- if ( x = 800 && y = 600 )
+ if (x = 800 && y = 600 )
dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL41);
else if (x = 1024 && y = 768)
dispControl = FIELD_SET(dispControl, CRT_DISPLAY_CTRL, CLK, PLL65);
diff --git a/drivers/staging/sm750fb/ddk750_power.c b/drivers/staging/sm750fb/ddk750_power.c
index b7a108b..44b8eb1 100644
--- a/drivers/staging/sm750fb/ddk750_power.c
+++ b/drivers/staging/sm750fb/ddk750_power.c
@@ -59,17 +59,17 @@ void setPowerMode(unsigned int powerMode)
{
control_value #ifdef VALIDATION_CHIP
- FIELD_SET( control_value, POWER_MODE_CTRL, 336CLK, OFF) |
+ FIELD_SET(control_value, POWER_MODE_CTRL, 336CLK, OFF) |
#endif
- FIELD_SET( control_value, POWER_MODE_CTRL, OSC_INPUT, OFF);
+ FIELD_SET(control_value, POWER_MODE_CTRL, OSC_INPUT, OFF);
}
else
{
control_value #ifdef VALIDATION_CHIP
- FIELD_SET( control_value, POWER_MODE_CTRL, 336CLK, ON) |
+ FIELD_SET(control_value, POWER_MODE_CTRL, 336CLK, ON) |
#endif
- FIELD_SET( control_value, POWER_MODE_CTRL, OSC_INPUT, ON);
+ FIELD_SET(control_value, POWER_MODE_CTRL, OSC_INPUT, ON);
}
/* Program new power mode. */
--
2.4.5
next prev parent reply other threads:[~2015-07-15 4:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-15 4:10 [PATCH v5 00/19] staging: sm750fb: checkpatch.pl fixes Juston Li
2015-07-15 4:14 ` [PATCH v5 01/19] staging: sm750fb: use tabs for indentation Juston Li
2015-07-15 4:14 ` Juston Li [this message]
2015-07-15 4:14 ` [PATCH v5 03/19] staging: sm750fb: remove space before close parenthesis Juston Li
2015-07-15 4:14 ` [PATCH v5 04/19] staging: sm750fb: add space before open parenthesis Juston Li
2015-07-15 4:14 ` [PATCH v5 05/19] staging: sm750fb: remove space between function name and parenthesis Juston Li
2015-07-15 4:14 ` [PATCH v5 06/19] staging: sm750fb: add space before open brace Juston Li
2015-07-15 4:14 ` [PATCH v5 07/19] staging: sm750fb: add space after close brace Juston Li
2015-07-15 4:14 ` [PATCH v5 08/19] staging: sm750fb: add space after enum definition Juston Li
2015-07-15 4:14 ` [PATCH v5 09/19] staging: sm750fb: add space after struct definition Juston Li
2015-07-15 4:14 ` [PATCH v5 10/19] staging: sm750fb: add space after return type Juston Li
2015-07-15 4:14 ` [PATCH v5 11/19] staging: sm750fb: consistent spacing around operators Juston Li
2015-07-15 4:14 ` [PATCH v5 12/19] staging: sm750fb: add spaces " Juston Li
2015-07-15 4:14 ` [PATCH v5 13/19] staging: sm750fb: add space after semicolon Juston Li
2015-07-15 4:14 ` [PATCH v5 14/19] staging: sm750fb: remove trailing whitespace Juston Li
2015-07-15 4:14 ` [PATCH v5 15/19] staging: sm750fb: remove unnecessary whitespace Juston Li
2015-07-15 4:14 ` [PATCH v5 16/19] staging: sm750fb: fix brace placement Juston Li
2015-07-15 4:14 ` [PATCH v5 17/19] staging: sm750fb: move while to follow do close brace Juston Li
2015-07-15 4:14 ` [PATCH v5 18/19] staging: sm750fb: remove unnecessary braces Juston Li
2015-07-15 4:14 ` [PATCH v5 19/19] staging: sm750fb: add missing blank line after declarations Juston Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436933688-5408-2-git-send-email-juston.h.li@gmail.com \
--to=juston.h.li@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sudipm.mukherjee@gmail.com \
--cc=teddy.wang@siliconmotion.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).