mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
beceem: eliminate unused USB stubs
USB layer does not require these reset function stubs Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
This commit is contained in:
parent
5abe61ade9
commit
047a5f2b50
@ -814,25 +814,12 @@ static int InterfaceResume (struct usb_interface *intf)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int InterfacePreReset(struct usb_interface *intf)
|
||||
{
|
||||
printk("====================>");
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static int InterfacePostReset(struct usb_interface *intf)
|
||||
{
|
||||
printk("Do Post chip reset setting here if it is required");
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
static struct usb_driver usbbcm_driver = {
|
||||
.name = "usbbcm",
|
||||
.probe = usbbcm_device_probe,
|
||||
.disconnect = usbbcm_disconnect,
|
||||
.suspend = InterfaceSuspend,
|
||||
.resume = InterfaceResume,
|
||||
.pre_reset=InterfacePreReset,
|
||||
.post_reset=InterfacePostReset,
|
||||
.id_table = InterfaceUsbtable,
|
||||
.supports_autosuspend = 1,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user