USB: remove references to dev.power.power_state
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 4 May 2007 15:54:28 +0000 (11:54 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:46 +0000 (16:29 -0700)
commitf3fd77cd2f4499f3e2ef9a1e6d5e4f4349d556c3
tree71cb2e01dfe006c5904ac01d002226b8b6cb04f2
parent8adb4786789c25007f39b4d00dd03cc83bdcb896
USB: remove references to dev.power.power_state

This revised patch (as891b) removes two unnecessary references to
intf->dev.power.power_state from usb-storage, and replaces a reference
to root_hub->dev.power.power_state with a check of hcd->state.  This
is in preparation for the removal of dev.power.power_state, which is
already deprecated.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd-pci.c
drivers/usb/storage/usb.c