Commit ad220db4 authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging: Fix typo within android drivers.

Fix spelling typo in comments within android drivers.
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 251640a7
...@@ -54,7 +54,7 @@ module_param_named(debug_mask, debug_mask, int, S_IRUGO | S_IWUSR | S_IWGRP); ...@@ -54,7 +54,7 @@ module_param_named(debug_mask, debug_mask, int, S_IRUGO | S_IWUSR | S_IWGRP);
ANDROID_ALARM_RTC_WAKEUP_MASK | \ ANDROID_ALARM_RTC_WAKEUP_MASK | \
ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK) ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK)
/* support old usespace code */ /* support old userspace code */
#define ANDROID_ALARM_SET_OLD _IOW('a', 2, time_t) /* set alarm */ #define ANDROID_ALARM_SET_OLD _IOW('a', 2, time_t) /* set alarm */
#define ANDROID_ALARM_SET_AND_WAIT_OLD _IOW('a', 3, time_t) #define ANDROID_ALARM_SET_AND_WAIT_OLD _IOW('a', 3, time_t)
......
...@@ -57,7 +57,7 @@ module_param_named(debug_mask, debug_mask, int, S_IRUGO | S_IWUSR | S_IWGRP); ...@@ -57,7 +57,7 @@ module_param_named(debug_mask, debug_mask, int, S_IRUGO | S_IWUSR | S_IWGRP);
ANDROID_ALARM_RTC_WAKEUP_MASK | \ ANDROID_ALARM_RTC_WAKEUP_MASK | \
ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK) ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK)
/* support old usespace code */ /* support old userspace code */
#define ANDROID_ALARM_SET_OLD _IOW('a', 2, time_t) /* set alarm */ #define ANDROID_ALARM_SET_OLD _IOW('a', 2, time_t) /* set alarm */
#define ANDROID_ALARM_SET_AND_WAIT_OLD _IOW('a', 3, time_t) #define ANDROID_ALARM_SET_AND_WAIT_OLD _IOW('a', 3, time_t)
...@@ -543,7 +543,7 @@ static int __init alarm_late_init(void) ...@@ -543,7 +543,7 @@ static int __init alarm_late_init(void)
/* this needs to run after the rtc is read at boot */ /* this needs to run after the rtc is read at boot */
spin_lock_irqsave(&alarm_slock, flags); spin_lock_irqsave(&alarm_slock, flags);
/* We read the current rtc and system time so we can later calulate /* We read the current rtc and system time so we can later calculate
* elasped realtime to be (boot_systemtime + rtc - boot_rtc) == * elasped realtime to be (boot_systemtime + rtc - boot_rtc) ==
* (rtc - (boot_rtc - boot_systemtime)) * (rtc - (boot_rtc - boot_systemtime))
*/ */
......
...@@ -41,7 +41,7 @@ enum android_alarm_type { ...@@ -41,7 +41,7 @@ enum android_alarm_type {
/* /*
* The alarm interface is similar to the hrtimer interface but adds support * The alarm interface is similar to the hrtimer interface but adds support
* for wakeup from suspend. It also adds an elapsed realtime clock that can * for wakeup from suspend. It also adds an elapsed realtime clock that can
* be used for periodic timers that need to keep runing while the system is * be used for periodic timers that need to keep running while the system is
* suspended and not be disrupted when the wall time is set. * suspended and not be disrupted when the wall time is set.
*/ */
......
...@@ -63,7 +63,7 @@ struct flat_binder_object { ...@@ -63,7 +63,7 @@ struct flat_binder_object {
/* /*
* On 64-bit platforms where user code may run in 32-bits the driver must * On 64-bit platforms where user code may run in 32-bits the driver must
* translate the buffer (and local binder) addresses apropriately. * translate the buffer (and local binder) addresses appropriately.
*/ */
struct binder_write_read { struct binder_write_read {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment