Skip to content
Commit 23217b44 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Tejun Heo
Browse files

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: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent d6e022f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment