From: Greg Kroah-Hartman Date: Tue, 20 Nov 2007 21:56:21 +0000 (-0800) Subject: driver core: clean up shutdown.c X-Git-Tag: v2.6.25-rc1~1243^2~94 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=822a89ed1ea0f7a2d8079307426fbeeac0370138;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index 10c20840395..6f0dfca8ebd 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h @@ -1,10 +1,3 @@ -/* - * shutdown.c - */ - -extern void device_shutdown(void); - - #ifdef CONFIG_PM_SLEEP /* diff --git a/drivers/base/power/shutdown.c b/drivers/base/power/shutdown.c index f51cbc1d402..5b6bc168ffb 100644 --- a/drivers/base/power/shutdown.c +++ b/drivers/base/power/shutdown.c @@ -12,10 +12,6 @@ #include #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) } } } -