Input: atmel_mxt_ts - fix double free of input device
authorStephen Warren <swarren@wwwdotorg.org>
Wed, 10 Sep 2014 17:01:10 +0000 (10:01 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 Sep 2014 17:27:31 +0000 (10:27 -0700)
[Nick Dyer: reworked to move free of input device into separate function
and only call in paths that require it.]
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

No differences found