All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: gate: fix coding style
@ 2016-11-09 11:00 Uwe Kleine-König
  2016-11-09 11:25 ` Masahiro Yamada
  2016-11-09 20:14 ` Stephen Boyd
  0 siblings, 2 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2016-11-09 11:00 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd; +Cc: linux-clk, trivial, kernel

The : of the ?: operator should have a leading space.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
Hello,

I always wonder if I should send such patches or if they hurt more than
they are worth. *shrug* ignore at will.

Best regards
Uwe

 drivers/clk/clk-gate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk-gate.c b/drivers/clk/clk-gate.c
index 4e691e35483a..59e302538d23 100644
--- a/drivers/clk/clk-gate.c
+++ b/drivers/clk/clk-gate.c
@@ -145,7 +145,7 @@ struct clk_hw *clk_hw_register_gate(struct device *dev, const char *name,
 	init.name = name;
 	init.ops = &clk_gate_ops;
 	init.flags = flags | CLK_IS_BASIC;
-	init.parent_names = (parent_name ? &parent_name: NULL);
+	init.parent_names = (parent_name ? &parent_name : NULL);
 	init.num_parents = (parent_name ? 1 : 0);
 
 	/* struct clk_gate assignments */
-- 
2.10.1

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

end of thread, other threads:[~2016-11-09 20:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-09 11:00 [PATCH] clk: gate: fix coding style Uwe Kleine-König
2016-11-09 11:25 ` Masahiro Yamada
2016-11-09 13:58   ` Uwe Kleine-König
2016-11-09 20:14 ` Stephen Boyd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.