diff options
| author | Cruz Julian Bishop <cruzjbishop@gmail.com> | 2013-09-03 22:05:09 +1000 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:35:32 +0200 |
| commit | 224694ca0ef8cbb1c18a1159c39b50899e902c94 (patch) | |
| tree | 632d7bae2c24d0b3c097daa5bfbfaf1bd352f30b | |
| parent | 9f7e6bdd155fc7b4ca25e9496e777f2e687e3ba6 (diff) | |
| download | android_kernel_m2note-224694ca0ef8cbb1c18a1159c39b50899e902c94.tar.gz | |
staging/android: Add kerneldoc to one function in alarm-dev.c
Sorry. I thought that this would be a nice easy class to document fully.
Turns out I was very wrong - I will have to research the Linux alarm and
timer subsystem one day next week and try again.
Here is what I started out with, anyway. It's not much, but it's better
than nothing!
Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/android/alarm-dev.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/staging/android/alarm-dev.c b/drivers/staging/android/alarm-dev.c index 6d9ba6e87..6f290b447 100644 --- a/drivers/staging/android/alarm-dev.c +++ b/drivers/staging/android/alarm-dev.c @@ -66,7 +66,12 @@ struct devalarm { static struct devalarm alarms[ANDROID_ALARM_TYPE_COUNT]; - +/** + * is_wakeup() - Checks to see if this alarm can wake the device + * @type: The type of alarm being checked + * + * Return: 1 if this is a wakeup alarm, otherwise 0 + */ static int is_wakeup(enum android_alarm_type type) { return (type == ANDROID_ALARM_RTC_WAKEUP || |
