power: Remove HAS_WAKELOCK config and document WAKELOCK
authorDylan Reid <dgreid@chromium.org>
Tue, 3 Mar 2015 17:38:28 +0000 (09:38 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:40 +0000 (13:53 -0800)
Remove the HAS_WAKELOCK config as it doesn't seem to have been used in
the 3.10 or 3.14 kernels.

Add some Documentation to CONFIG_WAKELOCK so that it is selectable and
can be disabled is desired.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
kernel/power/Kconfig

index deb2df6a71290e00c58037ada2eb3351e57c88d2..84c480946fb2972f4eb220c5491266b34f63f372 100644 (file)
@@ -29,8 +29,13 @@ config SUSPEND_SKIP_SYNC
          user-space before invoking suspend.  Say Y if that's your case.
 
 config WAKELOCK
-       bool
+       bool "Android's method of preventing suspend"
        default y
+       ---help---
+         This allows applications to prevent the CPU from suspending while
+         they need it.
+
+         Say Y if you are running an android userspace.
 
 config HIBERNATE_CALLBACKS
        bool