mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
197b12d679
commit
78a2d906b4
5 changed files with 9 additions and 10 deletions
|
|
@ -154,7 +154,7 @@ notes_exit:
|
|||
group_exit:
|
||||
sysfs_remove_group(kernel_kobj, &kernel_attr_group);
|
||||
kset_exit:
|
||||
kobject_unregister(kernel_kobj);
|
||||
kobject_put(kernel_kobj);
|
||||
exit:
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue