diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-27 14:28:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:25 -0500 |
commit | d76e15fb20eeb7632ef38876a884fe3508b2c01d (patch) | |
tree | 5f3d63e70d8ac2365ee0c3f6b0489c8377ec1cd0 /kernel/power/disk.c | |
parent | 37b0c020343080241984d978981d6caf877b278a (diff) |
driver core: make /sys/power a kobject
/sys/power should not be a kset, that's overkill. This patch renames it
to power_kset and fixes up all usages of it in the tree.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/power/disk.c')
-rw-r--r-- | kernel/power/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/disk.c b/kernel/power/disk.c index ef5aa2ca0ab0..b138b431e271 100644 --- a/kernel/power/disk.c +++ b/kernel/power/disk.c | |||
@@ -714,7 +714,7 @@ static struct attribute_group attr_group = { | |||
714 | 714 | ||
715 | static int __init pm_disk_init(void) | 715 | static int __init pm_disk_init(void) |
716 | { | 716 | { |
717 | return sysfs_create_group(&power_kset->kobj, &attr_group); | 717 | return sysfs_create_group(power_kobj, &attr_group); |
718 | } | 718 | } |
719 | 719 | ||
720 | core_initcall(pm_disk_init); | 720 | core_initcall(pm_disk_init); |