Searched refs:old_device_name (Results 1 – 1 of 1) sorted by relevance
4463 char *old_device_name = NULL; in device_rename() local4472 old_device_name = kstrdup(dev_name(dev), GFP_KERNEL); in device_rename()4473 if (!old_device_name) { in device_rename()4486 error = sysfs_rename_link_ns(&sp->subsys.kobj, kobj, old_device_name, in device_rename()4500 kfree(old_device_name); in device_rename()