Input: atmel_mxt_ts - simplify mxt_initialize a bit
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 8 Aug 2014 16:28:45 +0000 (09:28 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Aug 2014 16:16:10 +0000 (09:16 -0700)
commit6cd1ab0fb67f21e6e35eee35106d8dd2f08b544c
treeb2d2b462312e24ffa1a28ea82f12995be9f0db1d
parent23526d94977af1b006bb8d14639f2f33a444db7b
Input: atmel_mxt_ts - simplify mxt_initialize a bit

I think having control flow with 2 goto/labels/flags is quite hard to read,
this version is a bit more readable IMO.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
drivers/input/touchscreen/atmel_mxt_ts.c