diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-03-30 21:57:33 -0400 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-03-31 10:26:23 -0400 |
commit | 25985edcedea6396277003854657b5f3cb31a628 (patch) | |
tree | f026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/hwmon/sht15.c | |
parent | 6aba74f2791287ec407e0f92487a725a25908067 (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/hwmon/sht15.c')
-rw-r--r-- | drivers/hwmon/sht15.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c index 1a9c32d6893a..f4e617adb220 100644 --- a/drivers/hwmon/sht15.c +++ b/drivers/hwmon/sht15.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #define SHT15_TSU 150 /* data setup time */ | 52 | #define SHT15_TSU 150 /* data setup time */ |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * struct sht15_temppair - elements of voltage dependant temp calc | 55 | * struct sht15_temppair - elements of voltage dependent temp calc |
56 | * @vdd: supply voltage in microvolts | 56 | * @vdd: supply voltage in microvolts |
57 | * @d1: see data sheet | 57 | * @d1: see data sheet |
58 | */ | 58 | */ |
@@ -251,7 +251,7 @@ static inline int sht15_update_single_val(struct sht15_data *data, | |||
251 | enable_irq(gpio_to_irq(data->pdata->gpio_data)); | 251 | enable_irq(gpio_to_irq(data->pdata->gpio_data)); |
252 | if (gpio_get_value(data->pdata->gpio_data) == 0) { | 252 | if (gpio_get_value(data->pdata->gpio_data) == 0) { |
253 | disable_irq_nosync(gpio_to_irq(data->pdata->gpio_data)); | 253 | disable_irq_nosync(gpio_to_irq(data->pdata->gpio_data)); |
254 | /* Only relevant if the interrupt hasn't occured. */ | 254 | /* Only relevant if the interrupt hasn't occurred. */ |
255 | if (!atomic_read(&data->interrupt_handled)) | 255 | if (!atomic_read(&data->interrupt_handled)) |
256 | schedule_work(&data->read_work); | 256 | schedule_work(&data->read_work); |
257 | } | 257 | } |
@@ -452,7 +452,7 @@ static void sht15_bh_read_data(struct work_struct *work_s) | |||
452 | */ | 452 | */ |
453 | atomic_set(&data->interrupt_handled, 0); | 453 | atomic_set(&data->interrupt_handled, 0); |
454 | enable_irq(gpio_to_irq(data->pdata->gpio_data)); | 454 | enable_irq(gpio_to_irq(data->pdata->gpio_data)); |
455 | /* If still not occured or another handler has been scheduled */ | 455 | /* If still not occurred or another handler has been scheduled */ |
456 | if (gpio_get_value(data->pdata->gpio_data) | 456 | if (gpio_get_value(data->pdata->gpio_data) |
457 | || atomic_read(&data->interrupt_handled)) | 457 | || atomic_read(&data->interrupt_handled)) |
458 | return; | 458 | return; |