HID: Add null check for hidinput.
authorJaikumar Ganesh <jaikumarg@android.com>
Thu, 22 Sep 2011 00:18:56 +0000 (17:18 -0700)
committerJaikumar Ganesh <jaikumarg@android.com>
Thu, 22 Sep 2011 00:19:38 +0000 (17:19 -0700)
commit6c6f91c5330263a0be0ad99a84755c342b395d49
treeb11e81a39e26c7358537260c76f89d311591bf9b
parent786240ce3b46476dccf286f689c8b58fcdb09488
HID: Add null check for hidinput.

Add null check for hidinput before calling input_register.

Change-Id: Ib3fc0507e4091192360f3395d13d489db9b5a4d2
Signed-off-by: Jaikumar Ganesh <jaikumarg@android.com>
drivers/hid/hid-input.c