Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18404
b: refs/heads/master
c: 9c08a93
h: refs/heads/master
v: v3
  • Loading branch information
Michael Richardson authored and Greg Kroah-Hartman committed Jan 13, 2006
1 parent 894adc4 commit 64d90cd
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: 2d7b5a70e01ff8b1b054d8313362e454e3057c5a
refs/heads/master: 9c08a938ce5a3e1c9d5f764dc6ae844cb1af76ff
4 changes: 2 additions & 2 deletions trunk/drivers/base/power/shutdown.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ extern int sysdev_shutdown(void);
*/
void device_shutdown(void)
{
struct device * dev;
struct device * dev, *devn;

down_write(&devices_subsys.rwsem);
list_for_each_entry_reverse(dev, &devices_subsys.kset.list,
list_for_each_entry_safe_reverse(dev, devn, &devices_subsys.kset.list,
kobj.entry) {
if (dev->bus && dev->bus->shutdown) {
dev_dbg(dev, "shutdown\n");
Expand Down

0 comments on commit 64d90cd

Please sign in to comment.