]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: android-alarm: Switch from wakelocks to wakeup sources
authorJohn Stultz <john.stultz@linaro.org>
Tue, 24 Apr 2012 17:57:16 +0000 (10:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:01:45 +0000 (11:01 -0700)
commita180c0d659f604568637336a00c0c3ca2f7b094a
tree43115dba417e07e1427012a4b34b3b8868e4c92a
parent22fa2fe0a496b6a0c0a75df862cfa7269babcb74
staging: android-alarm: Switch from wakelocks to wakeup sources

In their current AOSP tree, the Android in-kernel wakelock
infrastructure has been reimplemented in terms of wakeup
sources:
http://git.linaro.org/gitweb?p=people/jstultz/android.git;a=commitdiff;h=e9911f4efdc55af703b8b3bb8c839e6f5dd173bb

The Android alarm driver currently has stubbed out calls
to wakelock functionality. So this patch simply converts
the stubbed out wakelock calls to wakeup source calls, and
removes the empty wakelock macros

Greg, would you mind queuing this in staging-next?

CC: Colin Cross <ccross@android.com>
CC: Arve Hjønnevåg <arve@android.com>
CC: Greg KH <gregkh@linuxfoundation.org>
CC: Android Kernel Team <kernel-team@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/alarm-dev.c