aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/macintosh
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/adbhid.c2
-rw-r--r--drivers/macintosh/macio-adb.c2
-rw-r--r--drivers/macintosh/therm_adt746x.c2
-rw-r--r--drivers/macintosh/therm_pm72.c6
-rw-r--r--drivers/macintosh/therm_windtunnel.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/drivers/macintosh/adbhid.c b/drivers/macintosh/adbhid.c
index 5396c67ba0a4..09d72bb00d12 100644
--- a/drivers/macintosh/adbhid.c
+++ b/drivers/macintosh/adbhid.c
@@ -328,7 +328,7 @@ adbhid_input_keycode(int id, int scancode, int repeat)
328 switch (keycode) { 328 switch (keycode) {
329 case ADB_KEY_CAPSLOCK: 329 case ADB_KEY_CAPSLOCK:
330 if (!restore_capslock_events) { 330 if (!restore_capslock_events) {
331 /* Generate down/up events for CapsLock everytime. */ 331 /* Generate down/up events for CapsLock every time. */
332 input_report_key(ahid->input, KEY_CAPSLOCK, 1); 332 input_report_key(ahid->input, KEY_CAPSLOCK, 1);
333 input_sync(ahid->input); 333 input_sync(ahid->input);
334 input_report_key(ahid->input, KEY_CAPSLOCK, 0); 334 input_report_key(ahid->input, KEY_CAPSLOCK, 0);
diff --git a/drivers/macintosh/macio-adb.c b/drivers/macintosh/macio-adb.c
index bd6da7a9c55b..b6ef8f590764 100644
--- a/drivers/macintosh/macio-adb.c
+++ b/drivers/macintosh/macio-adb.c
@@ -147,7 +147,7 @@ static int macio_adb_reset_bus(void)
147 147
148 /* Hrm... we may want to not lock interrupts for so 148 /* Hrm... we may want to not lock interrupts for so
149 * long ... oh well, who uses that chip anyway ? :) 149 * long ... oh well, who uses that chip anyway ? :)
150 * That function will be seldomly used during boot 150 * That function will be seldom used during boot
151 * on rare machines, so... 151 * on rare machines, so...
152 */ 152 */
153 spin_lock_irqsave(&macio_lock, flags); 153 spin_lock_irqsave(&macio_lock, flags);
diff --git a/drivers/macintosh/therm_adt746x.c b/drivers/macintosh/therm_adt746x.c
index 9e3e2c566598..02367308ff2e 100644
--- a/drivers/macintosh/therm_adt746x.c
+++ b/drivers/macintosh/therm_adt746x.c
@@ -662,7 +662,7 @@ static void thermostat_create_files(void)
662 err |= device_create_file(&of_dev->dev, &dev_attr_sensor2_fan_speed); 662 err |= device_create_file(&of_dev->dev, &dev_attr_sensor2_fan_speed);
663 if (err) 663 if (err)
664 printk(KERN_WARNING 664 printk(KERN_WARNING
665 "Failed to create tempertaure attribute file(s).\n"); 665 "Failed to create temperature attribute file(s).\n");
666} 666}
667 667
668static void thermostat_remove_files(void) 668static void thermostat_remove_files(void)
diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c
index bca2af2e3760..d25df48b437b 100644
--- a/drivers/macintosh/therm_pm72.c
+++ b/drivers/macintosh/therm_pm72.c
@@ -91,7 +91,7 @@
91 * 91 *
92 * Mar. 10, 2005 : 1.2 92 * Mar. 10, 2005 : 1.2
93 * - Add basic support for Xserve G5 93 * - Add basic support for Xserve G5
94 * - Retreive pumps min/max from EEPROM image in device-tree (broken) 94 * - Retrieve pumps min/max from EEPROM image in device-tree (broken)
95 * - Use min/max macros here or there 95 * - Use min/max macros here or there
96 * - Latest darwin updated U3H min fan speed to 20% PWM 96 * - Latest darwin updated U3H min fan speed to 20% PWM
97 * 97 *
@@ -375,7 +375,7 @@ static int read_smon_adc(struct cpu_pid_state *state, int chan)
375 rc = i2c_master_send(state->monitor, buf, 2); 375 rc = i2c_master_send(state->monitor, buf, 2);
376 if (rc <= 0) 376 if (rc <= 0)
377 goto error; 377 goto error;
378 /* Wait for convertion */ 378 /* Wait for conversion */
379 msleep(1); 379 msleep(1);
380 /* Switch to data register */ 380 /* Switch to data register */
381 buf[0] = 4; 381 buf[0] = 4;
@@ -1192,7 +1192,7 @@ static int init_cpu_state(struct cpu_pid_state *state, int index)
1192 err |= device_create_file(&of_dev->dev, &dev_attr_cpu1_intake_fan_rpm); 1192 err |= device_create_file(&of_dev->dev, &dev_attr_cpu1_intake_fan_rpm);
1193 } 1193 }
1194 if (err) 1194 if (err)
1195 printk(KERN_WARNING "Failed to create some of the atribute" 1195 printk(KERN_WARNING "Failed to create some of the attribute"
1196 "files for CPU %d\n", index); 1196 "files for CPU %d\n", index);
1197 1197
1198 return 0; 1198 return 0;
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c
index d37819fd5ad3..46c4e95f10d6 100644
--- a/drivers/macintosh/therm_windtunnel.c
+++ b/drivers/macintosh/therm_windtunnel.c
@@ -45,7 +45,7 @@
45#include <asm/sections.h> 45#include <asm/sections.h>
46#include <asm/macio.h> 46#include <asm/macio.h>
47 47
48#define LOG_TEMP 0 /* continously log temperature */ 48#define LOG_TEMP 0 /* continuously log temperature */
49 49
50static struct { 50static struct {
51 volatile int running; 51 volatile int running;