Input: wacom - check for allocation failure in probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 30 Mar 2012 05:38:11 +0000 (22:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 30 Mar 2012 05:42:19 +0000 (22:42 -0700)
commitf182394033d639679264d61e6dca62761e659ff7
treee47443baa512862a135e020572c123dd07eacd95
parent993808253ca256b8ca7f8ff90d9935d7c99cd32d
Input: wacom - check for allocation failure in probe()

We accidentally removed the check for NULL in 3aac0ef10b "Input: wacom -
isolate input registration".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom_sys.c