From: Adrian Bunk Date: Mon, 12 Dec 2005 09:31:03 +0000 (-0800) Subject: [PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state() X-Git-Tag: v2.6.16-rc1~474^2~22^2^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1f1bf132d81ed723bc5fefbcec7d0779ce683a4f;p=linux-2.6-omap-h63xx.git [PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state() This patch #if 0's an unused global function. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c index adbc3148c03..4bafef83e79 100644 --- 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 */