Searched refs:parent_kobj (Results 1 – 1 of 1) sorted by relevance
3194 class_dir_create_and_add(struct class *class, struct kobject *parent_kobj) in class_dir_create_and_add() argument3208 retval = kobject_add(&dir->kobj, parent_kobj, "%s", class->name); in class_dir_create_and_add()3223 struct kobject *parent_kobj; in get_device_parent() local3241 parent_kobj = virtual_device_parent(dev); in get_device_parent()3245 parent_kobj = &parent->kobj; in get_device_parent()3252 if (k->parent == parent_kobj) { in get_device_parent()3263 k = class_dir_create_and_add(dev->class, parent_kobj); in get_device_parent()