提交 68d386bf 编写于 作者: M Monam Agarwal 提交者: Greg Kroah-Hartman

Staging: panel: Fix space prohibited between function name and open paranthesis

This patch fixes the following checkpatch.pl issues in panel.c:
WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: NMonam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7fba0100
...@@ -171,8 +171,8 @@ struct logical_input { ...@@ -171,8 +171,8 @@ struct logical_input {
union { union {
struct { /* valid when type == INPUT_TYPE_STD */ struct { /* valid when type == INPUT_TYPE_STD */
void (*press_fct) (int); void (*press_fct)(int);
void (*release_fct) (int); void (*release_fct)(int);
int press_data; int press_data;
int release_data; int release_data;
} std; } std;
...@@ -417,9 +417,9 @@ static char lcd_must_clear; ...@@ -417,9 +417,9 @@ static char lcd_must_clear;
static char lcd_left_shift; static char lcd_left_shift;
static char init_in_progress; static char init_in_progress;
static void (*lcd_write_cmd) (int); static void (*lcd_write_cmd)(int);
static void (*lcd_write_data) (int); static void (*lcd_write_data)(int);
static void (*lcd_clear_fast) (void); static void (*lcd_clear_fast)(void);
static DEFINE_SPINLOCK(pprt_lock); static DEFINE_SPINLOCK(pprt_lock);
static struct timer_list scan_timer; static struct timer_list scan_timer;
...@@ -2017,9 +2017,9 @@ static struct logical_input *panel_bind_key(const char *name, const char *press, ...@@ -2017,9 +2017,9 @@ static struct logical_input *panel_bind_key(const char *name, const char *press,
* be bound. * be bound.
*/ */
static struct logical_input *panel_bind_callback(char *name, static struct logical_input *panel_bind_callback(char *name,
void (*press_fct) (int), void (*press_fct)(int),
int press_data, int press_data,
void (*release_fct) (int), void (*release_fct)(int),
int release_data) int release_data)
{ {
struct logical_input *callback; struct logical_input *callback;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册