]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle / sysfs: move kobj initialization in the syfs file
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 26 Oct 2012 10:26:32 +0000 (12:26 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:34:19 +0000 (00:34 +0100)
commit3c050bca11086b38b3a62acee190c3e99b5160f6
treefd8e431856bf3df54b5af7352d026997d551d015
parentb5977a586ce622079c619d58be888ee243e421a0
cpuidle / sysfs: move kobj initialization in the syfs file

Move the kobj initialization and completion in the sysfs.c
and encapsulate the code more.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle.c
drivers/cpuidle/sysfs.c