]> err.no Git - linux-2.6/commit
PM: add kconfig option for deprecated .../power/state files
authorDavid Brownell <david-b@pacbell.net>
Wed, 30 Aug 2006 20:54:36 +0000 (13:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 04:08:37 +0000 (21:08 -0700)
commit2bca293e56b6a8cd16bb6e70a09b2adac9c723b5
treea67697a05fa718a2a03b603d8afbdcbae41d68bc
parent047bda36150d11422b2c7bacca1df324c909c0b3
PM: add kconfig option for deprecated .../power/state files

Add a new PM_SYSFS_DEPRECATED config option to control whether or
not the /sys/devices/.../power/state files are provided.  This will
make it easier to get rid of that mechanism when the time comes,
and to verify that userspace tools work right without it.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/sysfs.c
kernel/power/Kconfig