[PATCH 8/8] Coding Style Correction.

2015-01-17 Thread Shailendra Verma
Signed-off-by: Shailendra Verma --- drivers/input/evdev.c| 30 -- drivers/input/mousedev.c | 18 -- 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 18d4b2c..85ee594 100644

[PATCH 8/9] Fixed indentation violation in switch statement : Aligned the "switch" and its subordinate "case" labels in the same column instead of "double-intending" the "case" labels.

2015-01-17 Thread Shailendra Verma
Signed-off-by: Shailendra Verma --- drivers/input/evdev.c| 30 -- drivers/input/mousedev.c | 18 -- 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 18d4b2c..85ee594 100644

[PATCH] Input:evdev - Fix to avoid the execution of same instruction in every iteration of for loop.

2015-05-20 Thread Shailendra Verma
4.6.3-1ubuntu5) 4.6.3" .section .note.GNU-stack,"",%progbits Thus the fix will save duplicate instruction execution in every iteration of for loop. Signed-off-by: Shailendra Verma --- drivers/input/evdev.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH] Input:keyboard:samsung-keypad - Fix for correct return type

2015-05-25 Thread Shailendra Verma
The return type of the function samsung_keypad_report() is bool but we are returning the unsigned int value.So changing the unsigned int to bool type and initializing with false. Signed-off-by: Shailendra Verma --- drivers/input/keyboard/samsung-keypad.c |2 +- 1 file changed, 1 insertion

[PATCH] Input:mouse:psmouse-base - Change 1 to true for bool type variable.

2015-05-25 Thread Shailendra Verma
The variable psmouse_smartscroll is bool type so assigning true instead of 1. Signed-off-by: Shailendra Verma --- drivers/input/mouse/psmouse-base.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c

[PATCH] Input:mouse:synaptics_i2c - Change 1 to true for bool type

2015-05-25 Thread Shailendra Verma
The variable no_decel is bool type so assigning true instead of 1. Signed-off-by: Shailendra Verma --- drivers/input/mouse/synaptics_i2c.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/mouse/synaptics_i2c.c b/drivers/input/mouse/synaptics_i2c.c index

[PATCH] Input:mouse:synaptics_i2c - Fix for typo in comment in

2015-05-25 Thread Shailendra Verma
Signed-off-by: Shailendra Verma --- drivers/input/mouse/synaptics_i2c.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/mouse/synaptics_i2c.c b/drivers/input/mouse/synaptics_i2c.c index a8998ba..2c87a93 100644 --- a/drivers/input/mouse/synaptics_i2c.c +++ b

[PATCH] Input:mouse:synaptics_i2c - Use bool function return value

2015-05-25 Thread Shailendra Verma
The function synaptics_i2c_get_input() has bool return type. So use bool value flase instead of 0 to return. Signed-off-by: Shailendra Verma --- drivers/input/mouse/synaptics_i2c.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/mouse/synaptics_i2c.c b

[PATCH] Input:mouse:cyapa_gen5.c - Fix for typos in comment in function cyapa_gen5_irq_cmd_handler().

2015-05-25 Thread Shailendra Verma
Signed-off-by: Shailendra Verma --- drivers/input/mouse/cyapa_gen5.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/mouse/cyapa_gen5.c b/drivers/input/mouse/cyapa_gen5.c index 5b611dd..a12c32a 100644 --- a/drivers/input/mouse/cyapa_gen5.c +++ b/drivers