staging: sm750fb: Add void to function definition with no arguments
authorSupriya Karanth <iskaranth@gmail.com>
Wed, 11 Mar 2015 16:11:00 +0000 (01:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Mar 2015 17:41:14 +0000 (18:41 +0100)
commit6fa7db83e4f9ef5cd820b7c8aba06cd068035641
treeb3dd1000975d576599fc95489a14f05afff59110
parentd6b0d6de1d2821dc0dd44b33fbe2b41e5ecac430
staging: sm750fb: Add void to function definition with no arguments

Found by checkpatch.pl - ERROR: Bad function definition

A function with no arguments allows for variadic arguments. Add
void in between the empty parentheses to indicate that the function
takes no arguments.

changes made using coccinelle script:
@@
type T;
identifier f;
@@
T f(
+void
 ) {
...
}

Signed-off-by: Supriya Karanth <iskaranth@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c
drivers/staging/sm750fb/ddk750_display.c
drivers/staging/sm750fb/ddk750_dvi.c
drivers/staging/sm750fb/ddk750_power.c
drivers/staging/sm750fb/ddk750_sii164.c
drivers/staging/sm750fb/sm750_hw.c