commit | 63defa73c8c1193c1273474440c30d34c2524597 | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Mon Nov 15 15:56:54 2010 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Nov 16 14:02:00 2010 -0800 |
tree | 3d7cbe9351e507ca2e55a874e496398979602ec1 | |
parent | f646cf94520e22cb11eb5d2e9a35b33bfe4bea1b [diff] |
USB: use the no_callbacks flag for interfaces Call pm_runtime_no_callbacks to set no_callbacks flag for USB interfaces. Since interfaces cannot be power-managed separately from their parent devices, there's no reason for the runtime-PM core to invoke any callbacks for them. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Reviewed-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>