HID: wacom: Fix wacom_probe error handling
authorAxel Lin <axel.lin@gmail.com>
Mon, 17 Sep 2012 08:53:54 +0000 (16:53 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 19 Sep 2012 11:40:56 +0000 (13:40 +0200)
commit8908dd806340513dacfd37b21e047946bca995d1
tree15d58d5c45df471327bdc383aa6c0e87b93ede56
parente3c399ee4afebda7fd0a96a748e665a26853c246
HID: wacom: Fix wacom_probe error handling

OLEDs/LED are not critical for tablet functioning thus ignore OLED/LED
initialisation failures.

This patch does clean up all the sysfs attribute files in error paths.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Tested-by: Przemo Firszt <przemo@firszt.eu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wacom.c