提交 822a89ed 编写于 作者: G Greg Kroah-Hartman

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: NGreg Kroah-Hartman <gregkh@suse.de>
上级 c829a5b4
/*
* shutdown.c
*/
extern void device_shutdown(void);
#ifdef CONFIG_PM_SLEEP
/*
......
......@@ -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)
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册