staging: ks7010: fix checkpatch BRACES
authorTobin C. Harding <me@tobin.cc>
Tue, 21 Mar 2017 02:37:06 +0000 (13:37 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 07:56:07 +0000 (08:56 +0100)
commit5a21405ddbd58a4985081b2642837b978a5d7011
tree808b7a8fcabe684f455fc97785f8e847b13ff286
parent44c3cd5e0459fe1b6611bba9eb6b4d7d8c650686
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>
drivers/staging/ks7010/ks_hostif.c