Skip to content

Commit

Permalink
[PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AdrianBunk authored and gregkh committed Jan 5, 2006
1 parent e80a5de commit 1f1bf13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/base/power/runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 */

0 comments on commit 1f1bf13

Please sign in to comment.