You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Kobject: rename kobject_add_ng() to kobject_add()
Now that the old kobject_add() function is gone, rename kobject_add_ng() to kobject_add() to clean up the namespace. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -586,8 +586,8 @@ int class_device_add(struct class_device *class_dev)
|
||||
else
|
||||
class_dev->kobj.parent = &parent_class->subsys.kobj;
|
||||
|
||||
error = kobject_add_ng(&class_dev->kobj, class_dev->kobj.parent,
|
||||
"%s", class_dev->class_id);
|
||||
error = kobject_add(&class_dev->kobj, class_dev->kobj.parent,
|
||||
"%s", class_dev->class_id);
|
||||
if (error)
|
||||
goto out2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user