2013-03-13 12:08:05

by Sachin Kamat

[permalink] [raw]
Subject: [PATCH 1/1] pinctrl: pinctrl-nomadik-stn8815: Fix checkpatch error

Fixes the following error:
ERROR: space required after that ',' (ctx:VxV)

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

diff --git a/drivers/pinctrl/pinctrl-nomadik-stn8815.c b/drivers/pinctrl/pinctrl-nomadik-stn8815.c
index 924a339..ed39dca 100644
--- a/drivers/pinctrl/pinctrl-nomadik-stn8815.c
+++ b/drivers/pinctrl/pinctrl-nomadik-stn8815.c
@@ -299,7 +299,7 @@ static const unsigned i2c0_a_1_pins[] = { STN8815_PIN_D3, STN8815_PIN_D2 };
static const unsigned u1_b_1_pins[] = { STN8815_PIN_B16, STN8815_PIN_A16 };
static const unsigned i2cusb_b_1_pins[] = { STN8815_PIN_C21, STN8815_PIN_C20 };

-#define STN8815_PIN_GROUP(a,b) { .name = #a, .pins = a##_pins, \
+#define STN8815_PIN_GROUP(a, b) { .name = #a, .pins = a##_pins, \
.npins = ARRAY_SIZE(a##_pins), .altsetting = b }

static const struct nmk_pingroup nmk_stn8815_groups[] = {
--
1.7.4.1


2013-03-13 18:38:43

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 1/1] pinctrl: pinctrl-nomadik-stn8815: Fix checkpatch error

On Wed, Mar 13, 2013 at 12:57 PM, Sachin Kamat <[email protected]> wrote:

> Fixes the following error:
> ERROR: space required after that ',' (ctx:VxV)
>
> Signed-off-by: Sachin Kamat <[email protected]>

Applied to my devel branch as non-critical.

Thanks!
Linus Walleij