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-Url: https://git.stricted.de/?a=commitdiff_plain;h=1f1bf132d81ed723bc5fefbcec7d0779ce683a4f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 */