diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2016-11-09 06:00:46 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-11-09 15:05:50 -0500 |
commit | 295face99be9c1a214c2a80c2c6a889dbff5e1cf (patch) | |
tree | 19852183e10f4ee8b07d4db74a4ba1888d528bc2 /drivers/clk/clk-gate.c | |
parent | 2517b32bd9e178b0701f18f9ae8cc043f464dcea (diff) |
clk: gate: fix coding style
The : of the ?: operator should have a leading space.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[sboyd@codeaurora.org: Also remove useless parenthesis]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-gate.c')
-rw-r--r-- | drivers/clk/clk-gate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/clk-gate.c b/drivers/clk/clk-gate.c index 4e691e35483a..4e0c054a787c 100644 --- a/drivers/clk/clk-gate.c +++ b/drivers/clk/clk-gate.c | |||
@@ -145,8 +145,8 @@ struct clk_hw *clk_hw_register_gate(struct device *dev, const char *name, | |||
145 | init.name = name; | 145 | init.name = name; |
146 | init.ops = &clk_gate_ops; | 146 | init.ops = &clk_gate_ops; |
147 | init.flags = flags | CLK_IS_BASIC; | 147 | init.flags = flags | CLK_IS_BASIC; |
148 | init.parent_names = (parent_name ? &parent_name: NULL); | 148 | init.parent_names = parent_name ? &parent_name : NULL; |
149 | init.num_parents = (parent_name ? 1 : 0); | 149 | init.num_parents = parent_name ? 1 : 0; |
150 | 150 | ||
151 | /* struct clk_gate assignments */ | 151 | /* struct clk_gate assignments */ |
152 | gate->reg = reg; | 152 | gate->reg = reg; |