Re: [PATCH 1/6] Input: psmouse - use switch statement in psmouse_process_byte()

2015-12-11 Thread Pali Rohár
On Saturday 28 November 2015 21:13:51 Dmitry Torokhov wrote: > Instead of a series mostly exclusive "if" statements testing protocol type > of the mouse let's use "switch" statement. > > Signed-off-by: Dmitry Torokhov Reviewed-by: Pali Rohár --

[PATCH 1/6] Input: psmouse - use switch statement in psmouse_process_byte()

2015-11-28 Thread Dmitry Torokhov
Instead of a series mostly exclusive "if" statements testing protocol type of the mouse let's use "switch" statement. Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/psmouse-base.c | 65 ++ 1 file changed, 31 insertions(+),