staging: greybus: tools: Fix braces {} style
authorSimran Singhal <singhalsimran0@gmail.com>
Sun, 22 Mar 2020 17:30:45 +0000 (23:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2020 10:41:06 +0000 (11:41 +0100)
This patch fixes the check reported by checkpatch.pl
for braces {} should be used on all arms of this statement.

Signed-off-by: Simran Singhal <singhalsimran0@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20200322173045.GA24700@simran-Inspiron-5558
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/tools/loopback_test.c

index 69c6dce..867bf28 100644 (file)
@@ -802,8 +802,9 @@ static void prepare_devices(struct loopback_test *t)
                        write_sysfs_val(t->devices[i].sysfs_entry,
                                        "outstanding_operations_max",
                                        t->async_outstanding_operations);
-               } else
+               } else {
                        write_sysfs_val(t->devices[i].sysfs_entry, "async", 0);
+               }
        }
 }