441
441
* sysfs_pathname - return full path to sysfs dirent
442
442
* @sd: sysfs_dirent whose path we want
445
445
* Gives the name "/" to the sysfs_root entry; any path returned
446
446
* is relative to wherever sysfs is mounted.
450
448
static char *sysfs_pathname(struct sysfs_dirent *sd, char *path)
453
451
sysfs_pathname(sd->s_parent, path);