Input: mainstone-wm97xx - fix condition in pen_up
authorJiri Slaby <jirislaby@gmail.com>
Wed, 15 Apr 2009 16:03:07 +0000 (09:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 15 Apr 2009 16:04:10 +0000 (09:04 -0700)
commit180deb50880cdc5e9dd69ec97af0d6e72c5417fc
tree00357ef2e9a67519f3574be86c1b543bcc7431b4
parent9a03fbe802f4bd676de17af61aaaab8969982439
Input: mainstone-wm97xx - fix condition in pen_up

The loop body was never executed, because the condition is
always false. Convert to for with more obvious condition.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/mainstone-wm97xx.c