staging: Remove the Android alarm-dev driver
authorJohn Stultz <john.stultz@linaro.org>
Tue, 20 Jan 2015 21:42:34 +0000 (13:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 12:10:10 +0000 (20:10 +0800)
The functionality provided by the Android alarm-dev driver
should now be present in the timerfd interface (thanks to
Greg Hackmann and Todd Poynor).

As of Lollipop, AOSP can make use of the timerfd if
alarm-dev is not present (though a fixup for setting the
rtc time if rtc0 isn't the backing for _ALARM clockids has
been applied post-Lollipop).

Thus, we should be able to remove alarm-dev from staging.

Cc: Greg Hackmann <ghackmann@google.com>
Cc: Elliott Hughes <enh@google.com>
Cc: Todd Poynor <toddpoynor@google.com>
Cc: Android Kernel Team <kernel-team@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Acked-by: Mark Salyzyn <salyzyn@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/Kconfig
drivers/staging/android/alarm-dev.c [deleted file]
drivers/staging/android/android_alarm.h [deleted file]
drivers/staging/android/uapi/android_alarm.h [deleted file]

index 7e012f3..2ac0b61 100644 (file)
@@ -45,15 +45,6 @@ config ANDROID_LOW_MEMORY_KILLER
        ---help---
          Registers processes to be killed when memory is low
 
-config ANDROID_INTF_ALARM_DEV
-       tristate "Android alarm driver"
-       depends on RTC_CLASS
-       default n
-       ---help---
-         Provides non-wakeup and rtc backed wakeup alarms based on rtc or
-         elapsed realtime, and a non-wakeup alarm on the monotonic clock.
-         Also exports the alarm interface to user-space.
-
 config SYNC
        bool "Synchronization framework"
        default n
diff --cc drivers/staging/android/alarm-dev.c
Simple merge
diff --cc drivers/staging/android/android_alarm.h
Simple merge
diff --cc drivers/staging/android/uapi/android_alarm.h
Simple merge