]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kset: convert /sys/power to use kset_create
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Nov 2007 17:39:50 +0000 (10:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:16 +0000 (20:40 -0800)
commit039a5dcd2fc45188a2d522df630db4f7ef903a0f
treedbadc8ef13f00f90acf3c9caad8a3834a34f6ce9
parent7405c1e15edfe43b137bfbc5882f1af34d6d414d
kset: convert /sys/power to use kset_create

Dynamically create the kset instead of declaring it statically.  We also
rename power_subsys to power_kset to catch all users of the variable and
we properly export it so that people don't have to guess that it really
is present in the system.

The pseries code is wierd, why is it createing /sys/power if CONFIG_PM
is disabled?  Oh well, stupid big boxes ignoring config options...

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-omap1/pm.c
arch/powerpc/platforms/pseries/power.c
include/linux/kobject.h
kernel/power/disk.c
kernel/power/main.c
kernel/power/power.h