]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: ks7010: fix checkpatch PARENTHESIS_ALIGNMENT
authorTobin C. Harding <me@tobin.cc>
Wed, 15 Mar 2017 05:14:38 +0000 (16:14 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:44:30 +0000 (11:44 +0900)
commit9280b3a61ce006c803b616a922a635d04ffb040b
tree3eab2d9733a5af5a40a55991adec942a22fc336a
parent2ccabd0521697e9b12dcc9ebb0dd20623ad8ffc4
staging: ks7010: fix checkpatch PARENTHESIS_ALIGNMENT

Checkpatch emits WARNING and CHECK for prototype declarations.

WARNING: function definition argument 'void *' should also have an identifier name
CHECK: Alignment should match open parenthesis

Also prototype parameters wrap more than is necessary.

Tidy up function prototypes. Fix 5 error/warning instances.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.h