workqueue: Replace usage of init_name with dev_set_name()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 17 Feb 2016 20:04:41 +0000 (21:04 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 17 Feb 2016 21:14:18 +0000 (16:14 -0500)
commit23217b443b4b0439c8b55d3be0482d3cd7fbc5ac
tree2bc6a4587f59dd9a15a40cb2e1d285cf27d96acd
parentd6e022f1d207a161cd88e08ef0371554680ffc46
workqueue: Replace usage of init_name with dev_set_name()

The init_name property of the device struct is sort of a hack and should
only be used for statically allocated devices. Since the device is
dynamically allocated here it is safe to use the proper way to set a
devices name by calling dev_set_name().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c