mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -328,7 +328,7 @@ adbhid_input_keycode(int id, int scancode, int repeat)
|
|||
switch (keycode) {
|
||||
case ADB_KEY_CAPSLOCK:
|
||||
if (!restore_capslock_events) {
|
||||
/* Generate down/up events for CapsLock everytime. */
|
||||
/* Generate down/up events for CapsLock every time. */
|
||||
input_report_key(ahid->input, KEY_CAPSLOCK, 1);
|
||||
input_sync(ahid->input);
|
||||
input_report_key(ahid->input, KEY_CAPSLOCK, 0);
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ static int macio_adb_reset_bus(void)
|
|||
|
||||
/* Hrm... we may want to not lock interrupts for so
|
||||
* long ... oh well, who uses that chip anyway ? :)
|
||||
* That function will be seldomly used during boot
|
||||
* That function will be seldom used during boot
|
||||
* on rare machines, so...
|
||||
*/
|
||||
spin_lock_irqsave(&macio_lock, flags);
|
||||
|
|
|
|||
|
|
@ -662,7 +662,7 @@ static void thermostat_create_files(void)
|
|||
err |= device_create_file(&of_dev->dev, &dev_attr_sensor2_fan_speed);
|
||||
if (err)
|
||||
printk(KERN_WARNING
|
||||
"Failed to create tempertaure attribute file(s).\n");
|
||||
"Failed to create temperature attribute file(s).\n");
|
||||
}
|
||||
|
||||
static void thermostat_remove_files(void)
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
*
|
||||
* Mar. 10, 2005 : 1.2
|
||||
* - Add basic support for Xserve G5
|
||||
* - Retreive pumps min/max from EEPROM image in device-tree (broken)
|
||||
* - Retrieve pumps min/max from EEPROM image in device-tree (broken)
|
||||
* - Use min/max macros here or there
|
||||
* - Latest darwin updated U3H min fan speed to 20% PWM
|
||||
*
|
||||
|
|
@ -375,7 +375,7 @@ static int read_smon_adc(struct cpu_pid_state *state, int chan)
|
|||
rc = i2c_master_send(state->monitor, buf, 2);
|
||||
if (rc <= 0)
|
||||
goto error;
|
||||
/* Wait for convertion */
|
||||
/* Wait for conversion */
|
||||
msleep(1);
|
||||
/* Switch to data register */
|
||||
buf[0] = 4;
|
||||
|
|
@ -1192,7 +1192,7 @@ static int init_cpu_state(struct cpu_pid_state *state, int index)
|
|||
err |= device_create_file(&of_dev->dev, &dev_attr_cpu1_intake_fan_rpm);
|
||||
}
|
||||
if (err)
|
||||
printk(KERN_WARNING "Failed to create some of the atribute"
|
||||
printk(KERN_WARNING "Failed to create some of the attribute"
|
||||
"files for CPU %d\n", index);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
#include <asm/sections.h>
|
||||
#include <asm/macio.h>
|
||||
|
||||
#define LOG_TEMP 0 /* continously log temperature */
|
||||
#define LOG_TEMP 0 /* continuously log temperature */
|
||||
|
||||
static struct {
|
||||
volatile int running;
|
||||
|
|
|
|||
Loading…
Reference in a new issue