diff options
author | Emil Medve <Emilian.Medve@Freescale.com> | 2015-01-21 05:03:23 -0500 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-01-28 13:11:38 -0500 |
commit | 78f4a63e6426b7496781055e51050b86081d68de (patch) | |
tree | 3d9cfbbfec120fd235fd321a41216ab28c6a2523 /drivers/clk/clk-qoriq.c | |
parent | 9bbb8a338fb22e656719e319497ac2ad6f6d6960 (diff) |
clk: qoriq: Fix checkpatch type PARENTHESIS_ALIGNMENT
CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
+ rc = of_property_read_string_index(np, "clock-output-names",
+ 0, &clk_name);
CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
+ pr_err("Could not register clock provider for node:%s\n",
+ np->name);
CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
+ rc = of_property_read_string_index(np, "clock-output-names",
+ i, &clk_name);
CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
+ pr_err("Could not register clk provider for node:%s\n",
+ np->name);
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-qoriq.c')
-rw-r--r-- | drivers/clk/clk-qoriq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index f9b7eb43ac69..90ff6858c900 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c | |||
@@ -121,7 +121,7 @@ static void __init core_mux_init(struct device_node *np) | |||
121 | cmux_clk->flags = CLKSEL_ADJUST; | 121 | cmux_clk->flags = CLKSEL_ADJUST; |
122 | 122 | ||
123 | rc = of_property_read_string_index(np, "clock-output-names", | 123 | rc = of_property_read_string_index(np, "clock-output-names", |
124 | 0, &clk_name); | 124 | 0, &clk_name); |
125 | if (rc) { | 125 | if (rc) { |
126 | pr_err("%s: read clock names error\n", np->name); | 126 | pr_err("%s: read clock names error\n", np->name); |
127 | goto err_clk; | 127 | goto err_clk; |
@@ -143,7 +143,7 @@ static void __init core_mux_init(struct device_node *np) | |||
143 | rc = of_clk_add_provider(np, of_clk_src_simple_get, clk); | 143 | rc = of_clk_add_provider(np, of_clk_src_simple_get, clk); |
144 | if (rc) { | 144 | if (rc) { |
145 | pr_err("Could not register clock provider for node:%s\n", | 145 | pr_err("Could not register clock provider for node:%s\n", |
146 | np->name); | 146 | np->name); |
147 | goto err_clk; | 147 | goto err_clk; |
148 | } | 148 | } |
149 | goto err_name; | 149 | goto err_name; |
@@ -206,7 +206,7 @@ static void __init core_pll_init(struct device_node *np) | |||
206 | 206 | ||
207 | for (i = 0; i < count; i++) { | 207 | for (i = 0; i < count; i++) { |
208 | rc = of_property_read_string_index(np, "clock-output-names", | 208 | rc = of_property_read_string_index(np, "clock-output-names", |
209 | i, &clk_name); | 209 | i, &clk_name); |
210 | if (rc) { | 210 | if (rc) { |
211 | pr_err("%s: could not get clock names\n", np->name); | 211 | pr_err("%s: could not get clock names\n", np->name); |
212 | goto err_cell; | 212 | goto err_cell; |
@@ -238,7 +238,7 @@ static void __init core_pll_init(struct device_node *np) | |||
238 | rc = of_clk_add_provider(np, of_clk_src_onecell_get, onecell_data); | 238 | rc = of_clk_add_provider(np, of_clk_src_onecell_get, onecell_data); |
239 | if (rc) { | 239 | if (rc) { |
240 | pr_err("Could not register clk provider for node:%s\n", | 240 | pr_err("Could not register clk provider for node:%s\n", |
241 | np->name); | 241 | np->name); |
242 | goto err_cell; | 242 | goto err_cell; |
243 | } | 243 | } |
244 | 244 | ||