commit | 5a21405ddbd58a4985081b2642837b978a5d7011 | [log] [tgz] |
---|---|---|
author | Tobin C. Harding <me@tobin.cc> | Tue Mar 21 13:37:06 2017 +1100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 21 08:56:07 2017 +0100 |
tree | 808b7a8fcabe684f455fc97785f8e847b13ff286 | |
parent | 44c3cd5e0459fe1b6611bba9eb6b4d7d8c650686 [diff] |
staging: ks7010: fix checkpatch BRACES Checkpatch emits CHECK: Unbalanced braces around else statement. Statements in question are single statements so we do not need braces. Checkpatch also warns about multiple line dereference for this code. Fix if/else/else if statement use of braces. Fix function argument layout at the same time since it is the same statement. Signed-off-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>