Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360566
b: refs/heads/master
c: 34cf1df
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Matthew Garrett committed Feb 27, 2013
1 parent 437454a commit 6e6ceb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: fabf85e3ca15d5b94058f391dac8df870cdd427a
refs/heads/master: 34cf1df34aba1a6274deeef92ad6d02d5f52dab0
2 changes: 1 addition & 1 deletion trunk/drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ static int sony_nc_lid_resume_setup(struct platform_device *pd)
return 0;

liderror:
for (; i > 0; i--)
for (i--; i >= 0; i--)
device_remove_file(&pd->dev, &lid_ctl->attrs[i]);

kfree(lid_ctl);
Expand Down

0 comments on commit 6e6ceb2

Please sign in to comment.