|
@@ -669,8 +669,6 @@ static int vt6656_suspend(struct usb_interface *intf, pm_message_t message)
|
|
|
if (device->flags & DEVICE_FLAGS_OPENED)
|
|
|
device_close(device->dev);
|
|
|
|
|
|
- usb_put_dev(interface_to_usbdev(intf));
|
|
|
-
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -681,8 +679,6 @@ static int vt6656_resume(struct usb_interface *intf)
|
|
|
if (!device || !device->dev)
|
|
|
return -ENODEV;
|
|
|
|
|
|
- usb_get_dev(interface_to_usbdev(intf));
|
|
|
-
|
|
|
if (!(device->flags & DEVICE_FLAGS_OPENED))
|
|
|
device_open(device->dev);
|
|
|
|