|
@@ -1193,18 +1193,10 @@ static int ath6kl_usb_pm_resume(struct usb_interface *interface)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int ath6kl_usb_pm_reset_resume(struct usb_interface *intf)
|
|
|
-{
|
|
|
- if (usb_get_intfdata(intf))
|
|
|
- ath6kl_usb_remove(intf);
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
#else
|
|
|
|
|
|
#define ath6kl_usb_pm_suspend NULL
|
|
|
#define ath6kl_usb_pm_resume NULL
|
|
|
-#define ath6kl_usb_pm_reset_resume NULL
|
|
|
|
|
|
#endif
|
|
|
|
|
@@ -1222,7 +1214,6 @@ static struct usb_driver ath6kl_usb_driver = {
|
|
|
.probe = ath6kl_usb_probe,
|
|
|
.suspend = ath6kl_usb_pm_suspend,
|
|
|
.resume = ath6kl_usb_pm_resume,
|
|
|
- .reset_resume = ath6kl_usb_pm_reset_resume,
|
|
|
.disconnect = ath6kl_usb_remove,
|
|
|
.id_table = ath6kl_usb_ids,
|
|
|
.supports_autosuspend = true,
|