mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Kobject: convert fs/* from 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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
c10997f657
commit
197b12d679
8 changed files with 18 additions and 18 deletions
|
|
@ -810,15 +810,15 @@ static int fuse_sysfs_init(void)
|
|||
return 0;
|
||||
|
||||
out_fuse_unregister:
|
||||
kobject_unregister(fuse_kobj);
|
||||
kobject_put(fuse_kobj);
|
||||
out_err:
|
||||
return err;
|
||||
}
|
||||
|
||||
static void fuse_sysfs_cleanup(void)
|
||||
{
|
||||
kobject_unregister(connections_kobj);
|
||||
kobject_unregister(fuse_kobj);
|
||||
kobject_put(connections_kobj);
|
||||
kobject_put(fuse_kobj);
|
||||
}
|
||||
|
||||
static int __init fuse_init(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue