aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/sys.c')
-rw-r--r--drivers/base/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/sys.c b/drivers/base/sys.c
index 47fc6eb6473f..e666441dd76b 100644
--- a/drivers/base/sys.c
+++ b/drivers/base/sys.c
@@ -264,7 +264,7 @@ void sysdev_unregister(struct sys_device * sysdev)
264 } 264 }
265 mutex_unlock(&sysdev_drivers_lock); 265 mutex_unlock(&sysdev_drivers_lock);
266 266
267 kobject_unregister(&sysdev->kobj); 267 kobject_put(&sysdev->kobj);
268} 268}
269 269
270 270