Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333070
b: refs/heads/master
c: a39b985
h: refs/heads/master
v: v3
  • Loading branch information
Kim, Milo authored and Bryan Wu committed Sep 11, 2012
1 parent fc3a6c6 commit 142d58a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94b43b677104e50b9f8dd75aacb3c69e16089a68
refs/heads/master: a39b9854c79cc9ac7b7b6fed58cf07da23f1f41e
4 changes: 2 additions & 2 deletions trunk/drivers/leds/leds-lp5523.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ static int __devinit lp5523_probe(struct i2c_client *client,
fail2:
for (i = 0; i < chip->num_leds; i++) {
led_classdev_unregister(&chip->leds[i].cdev);
cancel_work_sync(&chip->leds[i].brightness_work);
flush_work(&chip->leds[i].brightness_work);
}
fail1:
if (pdata->enable)
Expand All @@ -993,7 +993,7 @@ static int lp5523_remove(struct i2c_client *client)

for (i = 0; i < chip->num_leds; i++) {
led_classdev_unregister(&chip->leds[i].cdev);
cancel_work_sync(&chip->leds[i].brightness_work);
flush_work(&chip->leds[i].brightness_work);
}

if (chip->pdata->enable)
Expand Down

0 comments on commit 142d58a

Please sign in to comment.