Input: s3c2410_ts - fix s3c2410ts_probe error path
authorAxel Lin <axel.lin@gmail.com>
Thu, 2 Sep 2010 17:26:31 +0000 (10:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 3 Sep 2010 03:11:52 +0000 (20:11 -0700)
commitec1496b39576a3374e5461caac17b83b3275dbb7
tree5942deae147837fea830fce9d71b7cc087ec74a9
parentbba5394ad3bd23fff6987fc8bc3aaf9d12433c63
Input: s3c2410_ts - fix s3c2410ts_probe error path

Use input_free_device() to free devices that have not been registered.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/s3c2410_ts.c