diff options
Diffstat (limited to 'drivers/cpuidle/sysfs.c')
-rw-r--r-- | drivers/cpuidle/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c index 0310ffaec9df..be7917ec40c9 100644 --- a/drivers/cpuidle/sysfs.c +++ b/drivers/cpuidle/sysfs.c | |||
@@ -300,7 +300,7 @@ static struct kobj_type ktype_state_cpuidle = { | |||
300 | .release = cpuidle_state_sysfs_release, | 300 | .release = cpuidle_state_sysfs_release, |
301 | }; | 301 | }; |
302 | 302 | ||
303 | static void inline cpuidle_free_state_kobj(struct cpuidle_device *device, int i) | 303 | static inline void cpuidle_free_state_kobj(struct cpuidle_device *device, int i) |
304 | { | 304 | { |
305 | kobject_put(&device->kobjs[i]->kobj); | 305 | kobject_put(&device->kobjs[i]->kobj); |
306 | wait_for_completion(&device->kobjs[i]->kobj_unregister); | 306 | wait_for_completion(&device->kobjs[i]->kobj_unregister); |