Input: bu21013_ts - fix null dereference in error handling
authorDan Carpenter <error27@gmail.com>
Thu, 28 Oct 2010 22:09:28 +0000 (15:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 29 Oct 2010 05:33:07 +0000 (22:33 -0700)
commitbac64d0f8cfd45f1027b6e946785a56e8d694fba
tree4889685a59ce4e324058ecba6178648e34e39c34
parentb584efc9ea7575d3235cfd745e8a28201d2c37f6
Input: bu21013_ts - fix null dereference in error handling

bu21013_data could be NULL so better not reference it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/bu21013_ts.c