mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <[email protected]>
This commit is contained in:
parent
6aba74f279
commit
25985edced
2463 changed files with 4252 additions and 4252 deletions
|
|
@ -454,7 +454,7 @@ EXPORT_SYMBOL_GPL(rtc_update_irq_enable);
|
|||
* @rtc: pointer to the rtc device
|
||||
*
|
||||
* This function is called when an AIE, UIE or PIE mode interrupt
|
||||
* has occured (or been emulated).
|
||||
* has occurred (or been emulated).
|
||||
*
|
||||
* Triggers the registered irq_task function callback.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ static void at91_rtc_decodetime(unsigned int timereg, unsigned int calreg,
|
|||
/*
|
||||
* The Calendar Alarm register does not have a field for
|
||||
* the year - so these will return an invalid value. When an
|
||||
* alarm is set, at91_alarm_year wille store the current year.
|
||||
* alarm is set, at91_alarm_year will store the current year.
|
||||
*/
|
||||
tm->tm_year = bcd2bin(date & AT91_RTC_CENT) * 100; /* century */
|
||||
tm->tm_year += bcd2bin((date & AT91_RTC_YEAR) >> 8); /* year */
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@
|
|||
* write would be discarded and things quickly fall apart.
|
||||
*
|
||||
* To keep this delay from significantly degrading performance (we, in theory,
|
||||
* would have to sleep for up to 1 second everytime we wanted to write a
|
||||
* would have to sleep for up to 1 second every time we wanted to write a
|
||||
* register), we only check the write pending status before we start to issue
|
||||
* a new write. We bank on the idea that it doesnt matter when the sync
|
||||
* a new write. We bank on the idea that it doesn't matter when the sync
|
||||
* happens so long as we don't attempt another write before it does. The only
|
||||
* time userspace would take this penalty is when they try and do multiple
|
||||
* operations right after another ... but in this case, they need to take the
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ static int __devinit lpc32xx_rtc_probe(struct platform_device *pdev)
|
|||
spin_lock_init(&rtc->lock);
|
||||
|
||||
/*
|
||||
* The RTC is on a seperate power domain and can keep it's state
|
||||
* The RTC is on a separate power domain and can keep it's state
|
||||
* across a chip power cycle. If the RTC has never been previously
|
||||
* setup, then set it up now for the first time.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -573,7 +573,7 @@ static int x1205_probe(struct i2c_client *client,
|
|||
|
||||
i2c_set_clientdata(client, rtc);
|
||||
|
||||
/* Check for power failures and eventualy enable the osc */
|
||||
/* Check for power failures and eventually enable the osc */
|
||||
if ((err = x1205_get_status(client, &sr)) == 0) {
|
||||
if (sr & X1205_SR_RTCF) {
|
||||
dev_err(&client->dev,
|
||||
|
|
|
|||
Loading…
Reference in a new issue