driver core: clean up shutdown.c

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>
This commit is contained in:
Greg Kroah-Hartman 2007-11-20 13:56:21 -08:00
parent c829a5b498
commit 822a89ed1e
2 changed files with 0 additions and 12 deletions

View File

@ -1,10 +1,3 @@
/*
* shutdown.c
*/
extern void device_shutdown(void);
#ifdef CONFIG_PM_SLEEP
/*

View File

@ -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
@ -45,4 +41,3 @@ void device_shutdown(void)
}
}
}