Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263345
b: refs/heads/master
c: 1424e21
h: refs/heads/master
i:
  263343: 8c38619
v: v3
  • Loading branch information
Axel Lin authored and Linus Torvalds committed Aug 25, 2011
1 parent 14e63f1 commit 77d7c80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02016bc0381c4af9153b4e4008edfadae2bd6abc
refs/heads/master: 1424e21f66f4c51c31ba6ac188df46b43f51556b
5 changes: 5 additions & 0 deletions trunk/drivers/leds/leds-bd2802.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,11 @@ static int bd2802_register_led_classdev(struct bd2802_led *led)
static void bd2802_unregister_led_classdev(struct bd2802_led *led)
{
cancel_work_sync(&led->work);
led_classdev_unregister(&led->cdev_led2b);
led_classdev_unregister(&led->cdev_led2g);
led_classdev_unregister(&led->cdev_led2r);
led_classdev_unregister(&led->cdev_led1b);
led_classdev_unregister(&led->cdev_led1g);
led_classdev_unregister(&led->cdev_led1r);
}

Expand Down

0 comments on commit 77d7c80

Please sign in to comment.