HID: wacom: Simplify 'wacom_update_name'
authorJason Gerecke <killertofu@gmail.com>
Tue, 16 Jun 2015 01:01:41 +0000 (18:01 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 18 Jun 2015 08:42:38 +0000 (10:42 +0200)
commit44b5250b97a0e5c3a257430ea28b10cf73899bd4
tree9f22f0cb562c33a462c7af8326261a3af22f708f
parent05e8fd9202247ac6cdc26f6bafb5453120065490
HID: wacom: Simplify 'wacom_update_name'

A little bit of cleanup work for 'wacom_update_name' to make it easier on
the eyes. Creates a temporary 'name' variable on which we'll perform our
edits. Once the name is in its final form, it will be copied (with
appropriate suffix) to 'wacom_wac->name' and 'wacom_wac->pad_name'.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c