Home
last modified time | relevance | path

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

/drivers/of/
Dkobj.c40 static const char *safe_name(struct kobject *kobj, const char *orig_name) in safe_name() argument
42 const char *name = orig_name; in safe_name()
49 if (name != orig_name) in safe_name()
51 name = kasprintf(GFP_KERNEL, "%s#%i", orig_name, ++i); in safe_name()
54 if (name == orig_name) { in safe_name()
55 name = kstrdup(orig_name, GFP_KERNEL); in safe_name()