HID: emsff: properly handle emsff_init failure
authorAxel Lin <axel.lin@gmail.com>
Tue, 19 Jul 2011 08:14:04 +0000 (16:14 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 20 Jul 2011 09:55:18 +0000 (11:55 +0200)
commit2dcd9543a28da523a179a13b1eefa5f9b8e05d72
treea11707336226b54ec1f72c3e99a4f953cad1b088
parentb30d89d1055f9acd14b5eaf82d8f6a4763e91d85
HID: emsff: properly handle emsff_init failure

emsff_init() may fail, let's properly handle the failure.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-emsff.c