HID: wacom: Release device resource data obtained by devres_alloc()
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 24 Apr 2018 08:03:03 +0000 (13:33 +0530)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Apr 2018 08:50:57 +0000 (10:50 +0200)
commit097b8f62dd793e08f1732fc74dbb64596c7fbff9
treea1feb68bc995ba87a0dd8b72ff12a36676dde526
parenta230cd52b8a2be39cd6e9a13b3e62af57f21372a
HID: wacom: Release device resource data obtained by devres_alloc()

Free device resource data, if __wacom_devm_sysfs_create_group
is not successful.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c