]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb08eb2e55748e56d62a8ebea81f8c5a98c4221b5
treeb2d2b462312e24ffa1a28ea82f12995be9f0db1d
parente66a28a592b1783893d2960666935892c27c785a
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