projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80a5de
)
[PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state()
author
Adrian Bunk
<bunk@stusta.de>
Mon, 12 Dec 2005 09:31:03 +0000
(
01:31
-0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 5 Jan 2006 00:18:10 +0000
(16:18 -0800)
This patch #if 0's an unused global function.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/runtime.c
patch
|
blob
|
history
diff --git
a/drivers/base/power/runtime.c
b/drivers/base/power/runtime.c
index
adbc314
..
4bafef8
100644
(file)
--- a/
drivers/base/power/runtime.c
+++ b/
drivers/base/power/runtime.c
@@
-64,6
+64,7
@@
int dpm_runtime_suspend(struct device * dev, pm_message_t state)
}
+#if 0
/**
* dpm_set_power_state - Update power_state field.
* @dev: Device.
@@
-80,3
+81,4
@@
void dpm_set_power_state(struct device * dev, pm_message_t state)
dev->power.power_state = state;
up(&dpm_sem);
}
+#endif /* 0 */