aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
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/leds
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/leds')
-rw-r--r--drivers/leds/leds-pca9532.c2
-rw-r--r--drivers/leds/leds-wm8350.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-pca9532.c b/drivers/leds/leds-pca9532.c
index afac338d5025..5bf63af09ddf 100644
--- a/drivers/leds/leds-pca9532.c
+++ b/drivers/leds/leds-pca9532.c
@@ -58,7 +58,7 @@ static struct i2c_driver pca9532_driver = {
58 .id_table = pca9532_id, 58 .id_table = pca9532_id,
59}; 59};
60 60
61/* We have two pwm/blinkers, but 16 possible leds to drive. Additionaly, 61/* We have two pwm/blinkers, but 16 possible leds to drive. Additionally,
62 * the clever Thecus people are using one pwm to drive the beeper. So, 62 * the clever Thecus people are using one pwm to drive the beeper. So,
63 * as a compromise we average one pwm to the values requested by all 63 * as a compromise we average one pwm to the values requested by all
64 * leds that are not ON/OFF. 64 * leds that are not ON/OFF.
diff --git a/drivers/leds/leds-wm8350.c b/drivers/leds/leds-wm8350.c
index a04523273282..f14edd82cb00 100644
--- a/drivers/leds/leds-wm8350.c
+++ b/drivers/leds/leds-wm8350.c
@@ -215,13 +215,13 @@ static int wm8350_led_probe(struct platform_device *pdev)
215 215
216 isink = regulator_get(&pdev->dev, "led_isink"); 216 isink = regulator_get(&pdev->dev, "led_isink");
217 if (IS_ERR(isink)) { 217 if (IS_ERR(isink)) {
218 printk(KERN_ERR "%s: cant get ISINK\n", __func__); 218 printk(KERN_ERR "%s: can't get ISINK\n", __func__);
219 return PTR_ERR(isink); 219 return PTR_ERR(isink);
220 } 220 }
221 221
222 dcdc = regulator_get(&pdev->dev, "led_vcc"); 222 dcdc = regulator_get(&pdev->dev, "led_vcc");
223 if (IS_ERR(dcdc)) { 223 if (IS_ERR(dcdc)) {
224 printk(KERN_ERR "%s: cant get DCDC\n", __func__); 224 printk(KERN_ERR "%s: can't get DCDC\n", __func__);
225 ret = PTR_ERR(dcdc); 225 ret = PTR_ERR(dcdc);
226 goto err_isink; 226 goto err_isink;
227 } 227 }