Staging: panel: Fix space prohibited between function name and open paranthesis
authorMonam Agarwal <monamagarwal123@gmail.com>
Tue, 25 Feb 2014 14:10:49 +0000 (19:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2014 20:29:24 +0000 (12:29 -0800)
This patch fixes the following checkpatch.pl issues in panel.c:
WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/panel/panel.c

index ec4b1fd..83ce6f8 100644 (file)
@@ -171,8 +171,8 @@ struct logical_input {
 
        union {
                struct {        /* valid when type == INPUT_TYPE_STD */
-                       void (*press_fct) (int);
-                       void (*release_fct) (int);
+                       void (*press_fct)(int);
+                       void (*release_fct)(int);
                        int press_data;
                        int release_data;
                } std;
@@ -417,9 +417,9 @@ static char lcd_must_clear;
 static char lcd_left_shift;
 static char init_in_progress;
 
-static void (*lcd_write_cmd) (int);
-static void (*lcd_write_data) (int);
-static void (*lcd_clear_fast) (void);
+static void (*lcd_write_cmd)(int);
+static void (*lcd_write_data)(int);
+static void (*lcd_clear_fast)(void);
 
 static DEFINE_SPINLOCK(pprt_lock);
 static struct timer_list scan_timer;
@@ -2017,9 +2017,9 @@ static struct logical_input *panel_bind_key(const char *name, const char *press,
  * be bound.
  */
 static struct logical_input *panel_bind_callback(char *name,
-                                                void (*press_fct) (int),
+                                                void (*press_fct)(int),
                                                 int press_data,
-                                                void (*release_fct) (int),
+                                                void (*release_fct)(int),
                                                 int release_data)
 {
        struct logical_input *callback;