2013-03-15 05:20:47

by Sachin Kamat

[permalink] [raw]
Subject: [PATCH 1/1] pinctrl: coh901: Fix checkpatch error

Fixes the following checkpatch error:
ERROR: space required before the open parenthesis '('

Signed-off-by: Sachin Kamat <[email protected]>
---
drivers/pinctrl/pinctrl-coh901.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-coh901.c b/drivers/pinctrl/pinctrl-coh901.c
index 8b7e7bc..86887850 100644
--- a/drivers/pinctrl/pinctrl-coh901.c
+++ b/drivers/pinctrl/pinctrl-coh901.c
@@ -359,7 +359,7 @@ int u300_gpio_config_get(struct gpio_chip *chip,
drmode &= (U300_GPIO_PXPCR_PIN_MODE_MASK << ((offset & 0x07) << 1));
drmode >>= ((offset & 0x07) << 1);

- switch(param) {
+ switch (param) {
case PIN_CONFIG_BIAS_HIGH_IMPEDANCE:
*config = 0;
if (biasmode)
--
1.7.4.1


2013-03-27 21:50:22

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 1/1] pinctrl: coh901: Fix checkpatch error

On Fri, Mar 15, 2013 at 6:09 AM, Sachin Kamat <[email protected]> wrote:

> Fixes the following checkpatch error:
> ERROR: space required before the open parenthesis '('
>
> Signed-off-by: Sachin Kamat <[email protected]>

Patch applied!

Thanks,
Linus Walleij