Home
last modified time | relevance | path

Searched refs:old_device_name (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/base/
Dcore.c4463 char *old_device_name = NULL; in device_rename() local
4472 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()