driver core: Use sysfs_rename_link in device_rename
Don't open code the renaming of symlinks in sysfs instead use the new helper function sysfs_rename_link Acked-by: NTejun Heo <tj@kernel.org> Acked-by: NSerge Hallyn <serue@us.ibm.com> Signed-off-by: NEric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录