Input: xpad - fix resource reclaim in xpad_probe error path
authorAxel Lin <axel.lin@gmail.com>
Fri, 12 Nov 2010 05:47:42 +0000 (21:47 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 12 Nov 2010 06:02:23 +0000 (22:02 -0800)
Properly free the resources in error path by the reverse order of resource
allocation.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found