alarmtimer: add alarm_expires_remaining
authorTodd Poynor <toddpoynor@google.com>
Wed, 8 May 2013 03:43:29 +0000 (20:43 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:28 +0000 (14:16 -0700)
commit7b71ddcebb443992703f409994bebb3a3121bfc8
tree4155702b2b32722d6ab06ca5acf666a2b7f2aead
parent9231422b0b0c91d88361752efd34b67ff5e2800c
alarmtimer: add alarm_expires_remaining

Similar to hrtimer_expires_remaining, return the amount of time
remaining until alarm expiry.

Change-Id: I8c57512d619ac66bcdaf2d9ccdf0d7f74af2ff66
Signed-off-by: Todd Poynor <toddpoynor@google.com>
include/linux/alarmtimer.h
kernel/time/alarmtimer.c