mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
[PATCH] Remove usb gadget generic driver methods
USB gadget drivers make no use of these, remove the pointless comments. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4031bbe4bb
commit
d78967fb03
@ -2534,9 +2534,6 @@ static struct usb_gadget_driver eth_driver = {
|
||||
.driver = {
|
||||
.name = (char *) shortname,
|
||||
.owner = THIS_MODULE,
|
||||
// .shutdown = ...
|
||||
// .suspend = ...
|
||||
// .resume = ...
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1738,9 +1738,6 @@ static struct usb_gadget_driver gadgetfs_driver = {
|
||||
|
||||
.driver = {
|
||||
.name = (char *) shortname,
|
||||
// .shutdown = ...
|
||||
// .suspend = ...
|
||||
// .resume = ...
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -374,9 +374,6 @@ static struct usb_gadget_driver gs_gadget_driver = {
|
||||
.disconnect = gs_disconnect,
|
||||
.driver = {
|
||||
.name = GS_SHORT_NAME,
|
||||
/* .shutdown = ... */
|
||||
/* .suspend = ... */
|
||||
/* .resume = ... */
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1303,9 +1303,6 @@ static struct usb_gadget_driver zero_driver = {
|
||||
.driver = {
|
||||
.name = (char *) shortname,
|
||||
.owner = THIS_MODULE,
|
||||
// .shutdown = ...
|
||||
// .suspend = ...
|
||||
// .resume = ...
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user