aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kobject.c')
-rw-r--r--lib/kobject.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/kobject.c b/lib/kobject.c
index 4a310e55a886..a152036db006 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -436,12 +436,11 @@ struct kobject * kobject_get(struct kobject * kobj)
436 return kobj; 436 return kobj;
437} 437}
438 438
439/** 439/*
440 * kobject_cleanup - free kobject resources. 440 * kobject_cleanup - free kobject resources.
441 * @kobj: object. 441 * @kobj: object to cleanup
442 */ 442 */
443 443static void kobject_cleanup(struct kobject *kobj)
444void kobject_cleanup(struct kobject * kobj)
445{ 444{
446 struct kobj_type * t = get_ktype(kobj); 445 struct kobj_type * t = get_ktype(kobj);
447 struct kset * s = kobj->kset; 446 struct kset * s = kobj->kset;