diff options
Diffstat (limited to 'kernel/ksysfs.c')
-rw-r--r-- | kernel/ksysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c index 1081aff5fb9e..e53bc30e9ba5 100644 --- a/kernel/ksysfs.c +++ b/kernel/ksysfs.c | |||
@@ -154,7 +154,7 @@ notes_exit: | |||
154 | group_exit: | 154 | group_exit: |
155 | sysfs_remove_group(kernel_kobj, &kernel_attr_group); | 155 | sysfs_remove_group(kernel_kobj, &kernel_attr_group); |
156 | kset_exit: | 156 | kset_exit: |
157 | kobject_unregister(kernel_kobj); | 157 | kobject_put(kernel_kobj); |
158 | exit: | 158 | exit: |
159 | return error; | 159 | return error; |
160 | } | 160 | } |