[PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state()
authorAdrian Bunk <bunk@stusta.de>
Mon, 12 Dec 2005 09:31:03 +0000 (01:31 -0800)
committerGreg 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

index adbc3148c039e697b626921e1d413ad4ce96e42e..4bafef83e79fabe93f2253bb5680a34c4aead0f9 100644 (file)
@@ -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  */