linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] pinctrl/nomadik-db8500: Fix checkpatch errors
@ 2013-03-14 11:54 Sachin Kamat
  2013-03-14 11:54 ` [PATCH 2/2] pinctrl/nomadik: " Sachin Kamat
  2013-03-27 21:21 ` [PATCH 1/2] pinctrl/nomadik-db8500: " Linus Walleij
  0 siblings, 2 replies; 4+ messages in thread
From: Sachin Kamat @ 2013-03-14 11:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: srinidhi.kasagar, linus.walleij, sachin.kamat

Silences the following type of checkpatch errors:
ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/pinctrl/pinctrl-nomadik-db8500.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-nomadik-db8500.c b/drivers/pinctrl/pinctrl-nomadik-db8500.c
index 30b4da9..c748407 100644
--- a/drivers/pinctrl/pinctrl-nomadik-db8500.c
+++ b/drivers/pinctrl/pinctrl-nomadik-db8500.c
@@ -466,7 +466,7 @@ static const unsigned mc1_a_1_pins[] = { DB8500_PIN_AH16, DB8500_PIN_AG15,
 	DB8500_PIN_AJ15, DB8500_PIN_AG14, DB8500_PIN_AF13, DB8500_PIN_AG13,
 	DB8500_PIN_AH15 };
 static const unsigned mc1_a_2_pins[] = { DB8500_PIN_AH16, DB8500_PIN_AJ15,
-	DB8500_PIN_AG14, DB8500_PIN_AF13, DB8500_PIN_AG13,DB8500_PIN_AH15 };
+	DB8500_PIN_AG14, DB8500_PIN_AF13, DB8500_PIN_AG13, DB8500_PIN_AH15 };
 static const unsigned mc1dir_a_1_pins[] = { DB8500_PIN_AH13, DB8500_PIN_AG12,
 	DB8500_PIN_AH12, DB8500_PIN_AH11 };
 static const unsigned hsir_a_1_pins[] = { DB8500_PIN_AG10, DB8500_PIN_AH10,
@@ -663,7 +663,7 @@ static const unsigned hwobs_oc4_1_pins[] = { DB8500_PIN_D17, DB8500_PIN_D16,
 	DB8500_PIN_D21, DB8500_PIN_D20,	DB8500_PIN_C20, DB8500_PIN_B21,
 	DB8500_PIN_C21, DB8500_PIN_A22, DB8500_PIN_B24, DB8500_PIN_C22 };
 
-#define DB8500_PIN_GROUP(a,b) { .name = #a, .pins = a##_pins,		\
+#define DB8500_PIN_GROUP(a, b) { .name = #a, .pins = a##_pins,		\
 			.npins = ARRAY_SIZE(a##_pins), .altsetting = b }
 
 static const struct nmk_pingroup nmk_db8500_groups[] = {
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] pinctrl/nomadik: Fix checkpatch errors
  2013-03-14 11:54 [PATCH 1/2] pinctrl/nomadik-db8500: Fix checkpatch errors Sachin Kamat
@ 2013-03-14 11:54 ` Sachin Kamat
  2013-03-27 21:22   ` Linus Walleij
  2013-03-27 21:21 ` [PATCH 1/2] pinctrl/nomadik-db8500: " Linus Walleij
  1 sibling, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2013-03-14 11:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: srinidhi.kasagar, linus.walleij, sachin.kamat

Fixes the following types of checkpatch errors:
ERROR: space required after that ',' (ctx:VxV)
ERROR: space prohibited before that close parenthesis ')'

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/pinctrl/pinctrl-nomadik.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/pinctrl-nomadik.c
index 2328baa..267d81c 100644
--- a/drivers/pinctrl/pinctrl-nomadik.c
+++ b/drivers/pinctrl/pinctrl-nomadik.c
@@ -1565,8 +1565,8 @@ static int nmk_dt_add_map_configs(struct pinctrl_map **map,
 	return 0;
 }
 
-#define NMK_CONFIG_PIN(x,y) { .property = x, .config = y, }
-#define NMK_CONFIG_PIN_ARRAY(x,y) { .property = x, .choice = y, \
+#define NMK_CONFIG_PIN(x, y) { .property = x, .config = y, }
+#define NMK_CONFIG_PIN_ARRAY(x, y) { .property = x, .choice = y, \
 	.size = ARRAY_SIZE(y), }
 
 static const unsigned long nmk_pin_input_modes[] = {
@@ -2068,7 +2068,7 @@ static int nmk_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin,
 		pin, cfg, pullnames[pull], slpmnames[slpm],
 		output ? "output " : "input",
 		output ? (val ? "high" : "low") : "",
-		lowemi ? "on" : "off" );
+		lowemi ? "on" : "off");
 
 	clk_enable(nmk_chip->clk);
 	bit = pin % NMK_GPIO_PER_CHIP;
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] pinctrl/nomadik-db8500: Fix checkpatch errors
  2013-03-14 11:54 [PATCH 1/2] pinctrl/nomadik-db8500: Fix checkpatch errors Sachin Kamat
  2013-03-14 11:54 ` [PATCH 2/2] pinctrl/nomadik: " Sachin Kamat
@ 2013-03-27 21:21 ` Linus Walleij
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2013-03-27 21:21 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-kernel, srinidhi.kasagar

On Thu, Mar 14, 2013 at 12:54 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

> Silences the following type of checkpatch errors:
> ERROR: space required after that ',' (ctx:VxV)
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Patch applied!

Thanks,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] pinctrl/nomadik: Fix checkpatch errors
  2013-03-14 11:54 ` [PATCH 2/2] pinctrl/nomadik: " Sachin Kamat
@ 2013-03-27 21:22   ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2013-03-27 21:22 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-kernel, srinidhi.kasagar

On Thu, Mar 14, 2013 at 12:54 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

> Fixes the following types of checkpatch errors:
> ERROR: space required after that ',' (ctx:VxV)
> ERROR: space prohibited before that close parenthesis ')'
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Patch applied!

Thanks,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-27 21:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-14 11:54 [PATCH 1/2] pinctrl/nomadik-db8500: Fix checkpatch errors Sachin Kamat
2013-03-14 11:54 ` [PATCH 2/2] pinctrl/nomadik: " Sachin Kamat
2013-03-27 21:22   ` Linus Walleij
2013-03-27 21:21 ` [PATCH 1/2] pinctrl/nomadik-db8500: " Linus Walleij

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).