Skip to content

Commit

Permalink
driver core: clean up shutdown.c
Browse files Browse the repository at this point in the history
shutdown.c had some stuff it did not need, including a duplicate extern
in the power.h file.  This cleans up all of that.


Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 25, 2008
1 parent c829a5b commit 822a89e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions drivers/base/power/power.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* shutdown.c
*/

extern void device_shutdown(void);


#ifdef CONFIG_PM_SLEEP

/*
Expand Down
5 changes: 0 additions & 5 deletions drivers/base/power/shutdown.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
#include <asm/semaphore.h>

#include "../base.h"
#include "power.h"

#define to_dev(node) container_of(node, struct device, kobj.entry)


/**
* We handle system devices differently - we suspend and shut them
Expand Down Expand Up @@ -45,4 +41,3 @@ void device_shutdown(void)
}
}
}

0 comments on commit 822a89e

Please sign in to comment.