Kobject: rename kobject_init_ng() to kobject_init()
Now that the old kobject_init() function is gone, rename kobject_init_ng() to kobject_init() 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:
@@ -2033,7 +2033,7 @@ static mdk_rdev_t *md_import_device(dev_t newdev, int super_format, int super_mi
|
||||
if (err)
|
||||
goto abort_free;
|
||||
|
||||
kobject_init_ng(&rdev->kobj, &rdev_ktype);
|
||||
kobject_init(&rdev->kobj, &rdev_ktype);
|
||||
|
||||
rdev->desc_nr = -1;
|
||||
rdev->saved_raid_disk = -1;
|
||||
|
Reference in New Issue
Block a user