Răsfoiți Sursa

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>
Frank Rowand 10 ani în urmă
părinte
comite
3db316d00b
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      drivers/of/unittest.c

+ 5 - 0
drivers/of/unittest.c

@@ -295,6 +295,7 @@ static void __init of_selftest_parse_phandle_with_args(void)
 
 
 	for (i = 0; i < 8; i++) {
 	for (i = 0; i < 8; i++) {
 		bool passed = true;
 		bool passed = true;
+
 		rc = of_parse_phandle_with_args(np, "phandle-list",
 		rc = of_parse_phandle_with_args(np, "phandle-list",
 						"#phandle-cells", i, &args);
 						"#phandle-cells", i, &args);
 
 
@@ -554,6 +555,7 @@ static void __init of_selftest_parse_interrupts(void)
 
 
 	for (i = 0; i < 4; i++) {
 	for (i = 0; i < 4; i++) {
 		bool passed = true;
 		bool passed = true;
+
 		args.args_count = 0;
 		args.args_count = 0;
 		rc = of_irq_parse_one(np, i, &args);
 		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++) {
 	for (i = 0; i < 4; i++) {
 		bool passed = true;
 		bool passed = true;
+
 		args.args_count = 0;
 		args.args_count = 0;
 		rc = of_irq_parse_one(np, i, &args);
 		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++) {
 	for (i = 0; i < 7; i++) {
 		bool passed = true;
 		bool passed = true;
+
 		rc = of_irq_parse_one(np, i, &args);
 		rc = of_irq_parse_one(np, i, &args);
 
 
 		/* Test the values from tests-phandle.dtsi */
 		/* Test the values from tests-phandle.dtsi */
@@ -918,6 +922,7 @@ static int __init selftest_data_add(void)
 	np = selftest_data_node->child;
 	np = selftest_data_node->child;
 	while (np) {
 	while (np) {
 		struct device_node *next = np->sibling;
 		struct device_node *next = np->sibling;
+
 		np->parent = of_root;
 		np->parent = of_root;
 		attach_node_and_children(np);
 		attach_node_and_children(np);
 		np = next;
 		np = next;