diff options
author | Frank Rowand <frank.rowand@sonymobile.com> | 2015-03-14 00:02:31 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2015-03-29 08:56:18 +0100 |
commit | 3db316d00bfa60c673c54f27cd5edc329a3b28b5 (patch) | |
tree | 1f4bde1a4f073a3bda68430df711f1a1f3f19ba6 /drivers/of | |
parent | a6bb121e16ae1e1cedc8cf37616a4d13c5a9a65b (diff) |
of/unittest: reduce checkpatch noise - line after declarations
Fix warnings pointed out by checkpatch.
No bug fixes, but reduce the number of checkpatch warnings so that future
problems will stand out better.
Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/unittest.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index 276d2ada16e9..9ecf8529fe29 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c @@ -295,6 +295,7 @@ static void __init of_selftest_parse_phandle_with_args(void) for (i = 0; i < 8; i++) { bool passed = true; + rc = of_parse_phandle_with_args(np, "phandle-list", "#phandle-cells", i, &args); @@ -554,6 +555,7 @@ static void __init of_selftest_parse_interrupts(void) for (i = 0; i < 4; i++) { bool passed = true; + args.args_count = 0; rc = of_irq_parse_one(np, i, &args); @@ -574,6 +576,7 @@ static void __init of_selftest_parse_interrupts(void) for (i = 0; i < 4; i++) { bool passed = true; + args.args_count = 0; rc = of_irq_parse_one(np, i, &args); @@ -626,6 +629,7 @@ static void __init of_selftest_parse_interrupts_extended(void) for (i = 0; i < 7; i++) { bool passed = true; + rc = of_irq_parse_one(np, i, &args); /* Test the values from tests-phandle.dtsi */ @@ -918,6 +922,7 @@ static int __init selftest_data_add(void) np = selftest_data_node->child; while (np) { struct device_node *next = np->sibling; + np->parent = of_root; attach_node_and_children(np); np = next; |