Input: rotary-encoder - refactor and clean up
authorJohan Hovold <jhovold@gmail.com>
Wed, 11 May 2011 23:33:50 +0000 (16:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 11 May 2011 23:54:57 +0000 (16:54 -0700)
commit521a8f5cb79d1017d00d26143227159674e3b79d
tree557f868f6b926717687cf65480a857e0e4e0b747
parentbaafb435372dd48e3854028aec669effae957c9e
Input: rotary-encoder - refactor and clean up

Refactor state retrieval and event reporting in interrupt handler.
Remove a few empty lines.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/rotary_encoder.c