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
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
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
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
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
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
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
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
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