Kobject: convert remaining kobject_unregister() to kobject_put()

There is no need for kobject_unregister() anymore, thanks to Kay's
kobject cleanup changes, so replace all instances of it with
kobject_put().


Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman
2007-12-20 08:13:05 -08:00
parent 197b12d679
commit 78a2d906b4
5 changed files with 9 additions and 10 deletions

View File

@@ -327,7 +327,7 @@ static int __init securityfs_init(void)
retval = register_filesystem(&fs_type);
if (retval)
kobject_unregister(security_kobj);
kobject_put(security_kobj);
return retval;
}