Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333081
b: refs/heads/master
c: 23301b7
h: refs/heads/master
i:
  333079: 878354f
v: v3
  • Loading branch information
Kim, Milo authored and Bryan Wu committed Sep 13, 2012
1 parent 3293594 commit b76bb7b
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e0e021600e3ebb80d6539cc5f8de8f9d19687e80
refs/heads/master: 23301b7f1b8910fb3ba84935edbf665808f53871
3 changes: 3 additions & 0 deletions trunk/drivers/leds/leds-lp5523.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,9 @@ static int lp5523_remove(struct i2c_client *client)
struct lp5523_chip *chip = i2c_get_clientdata(client);
int i;

/* Disable engine mode */
lp5523_write(client, LP5523_REG_OP_MODE, LP5523_CMD_DISABLED);

lp5523_unregister_sysfs(client);

for (i = 0; i < chip->num_leds; i++) {
Expand Down

0 comments on commit b76bb7b

Please sign in to comment.