[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 <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
e80a5dea8e
Коммит
1f1bf132d8
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче