USB / PM: Drop CONFIG_PM_RUNTIME from the USB core
After commit b2b49ccbdd
(PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
selected) PM_RUNTIME is always set if PM is set, so quite a few
depend on CONFIG_PM (or even dropped in some cases).
Replace CONFIG_PM_RUNTIME with CONFIG_PM in the USB core code
and documentation.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -3144,8 +3144,7 @@ static int u132_probe(struct platform_device *pdev)
|
||||
#ifdef CONFIG_PM
|
||||
/*
|
||||
* for this device there's no useful distinction between the controller
|
||||
* and its root hub, except that the root hub only gets direct PM calls
|
||||
* when CONFIG_PM_RUNTIME is enabled.
|
||||
* and its root hub.
|
||||
*/
|
||||
static int u132_suspend(struct platform_device *pdev, pm_message_t state)
|
||||
{
|
||||
|
Reference in New Issue
Block a user