Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Uwe Kleine-König and committed by
Stephen Boyd
295face9 2517b32b

+2 -2
+2 -2
drivers/clk/clk-gate.c
··· 145 145 init.name = name; 146 146 init.ops = &clk_gate_ops; 147 147 init.flags = flags | CLK_IS_BASIC; 148 - init.parent_names = (parent_name ? &parent_name: NULL); 149 - init.num_parents = (parent_name ? 1 : 0); 148 + init.parent_names = parent_name ? &parent_name : NULL; 149 + init.num_parents = parent_name ? 1 : 0; 150 150 151 151 /* struct clk_gate assignments */ 152 152 gate->reg = reg;