summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-27 20:28:26 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 05:40:25 +0100
commitd76e15fb20eeb7632ef38876a884fe3508b2c01d (patch)
tree5f3d63e70d8ac2365ee0c3f6b0489c8377ec1cd0 /arch/arm/mach-omap1
parentdriver core: clean up device_shutdown (diff)
downloadlinux-d76e15fb20eeb7632ef38876a884fe3508b2c01d.tar.xz
linux-d76e15fb20eeb7632ef38876a884fe3508b2c01d.zip
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 'arch/arm/mach-omap1')
-rw-r--r--arch/arm/mach-omap1/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index 63edafb59490..d9805e3d9304 100644
--- a/arch/arm/mach-omap1/pm.c
+++ b/arch/arm/mach-omap1/pm.c
@@ -719,7 +719,7 @@ static int __init omap_pm_init(void)
omap_pm_init_proc();
#endif
- error = sysfs_create_file(&power_kset->kobj, &sleep_while_idle_attr);
+ error = sysfs_create_file(power_kobj, &sleep_while_idle_attr);
if (error)
printk(KERN_ERR "sysfs_create_file failed: %d\n", error);