diff options
author | Russell King <rmk@arm.linux.org.uk> | 2006-01-06 06:41:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-13 14:26:11 -0500 |
commit | d78967fb035aeb839a047ae69ce5f1ff39288a8d (patch) | |
tree | e76337604583e4052b8a685223af1d342f40ad19 /drivers/usb/gadget | |
parent | 4031bbe4bbec6c0fe50412ef7fb43a270b0f29f1 (diff) |
[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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/ether.c | 3 | ||||
-rw-r--r-- | drivers/usb/gadget/inode.c | 3 | ||||
-rw-r--r-- | drivers/usb/gadget/serial.c | 3 | ||||
-rw-r--r-- | drivers/usb/gadget/zero.c | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 8f402f85e1ca..afc84cfb61f9 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c | |||
@@ -2534,9 +2534,6 @@ static struct usb_gadget_driver eth_driver = { | |||
2534 | .driver = { | 2534 | .driver = { |
2535 | .name = (char *) shortname, | 2535 | .name = (char *) shortname, |
2536 | .owner = THIS_MODULE, | 2536 | .owner = THIS_MODULE, |
2537 | // .shutdown = ... | ||
2538 | // .suspend = ... | ||
2539 | // .resume = ... | ||
2540 | }, | 2537 | }, |
2541 | }; | 2538 | }; |
2542 | 2539 | ||
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index c6c279de832e..9a4edc5657aa 100644 --- a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c | |||
@@ -1738,9 +1738,6 @@ static struct usb_gadget_driver gadgetfs_driver = { | |||
1738 | 1738 | ||
1739 | .driver = { | 1739 | .driver = { |
1740 | .name = (char *) shortname, | 1740 | .name = (char *) shortname, |
1741 | // .shutdown = ... | ||
1742 | // .suspend = ... | ||
1743 | // .resume = ... | ||
1744 | }, | 1741 | }, |
1745 | }; | 1742 | }; |
1746 | 1743 | ||
diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c index 2e6926b33455..ba9acd531024 100644 --- a/drivers/usb/gadget/serial.c +++ b/drivers/usb/gadget/serial.c | |||
@@ -374,9 +374,6 @@ static struct usb_gadget_driver gs_gadget_driver = { | |||
374 | .disconnect = gs_disconnect, | 374 | .disconnect = gs_disconnect, |
375 | .driver = { | 375 | .driver = { |
376 | .name = GS_SHORT_NAME, | 376 | .name = GS_SHORT_NAME, |
377 | /* .shutdown = ... */ | ||
378 | /* .suspend = ... */ | ||
379 | /* .resume = ... */ | ||
380 | }, | 377 | }, |
381 | }; | 378 | }; |
382 | 379 | ||
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c index 6c58636e914b..2fc110d3ad5a 100644 --- a/drivers/usb/gadget/zero.c +++ b/drivers/usb/gadget/zero.c | |||
@@ -1303,9 +1303,6 @@ static struct usb_gadget_driver zero_driver = { | |||
1303 | .driver = { | 1303 | .driver = { |
1304 | .name = (char *) shortname, | 1304 | .name = (char *) shortname, |
1305 | .owner = THIS_MODULE, | 1305 | .owner = THIS_MODULE, |
1306 | // .shutdown = ... | ||
1307 | // .suspend = ... | ||
1308 | // .resume = ... | ||
1309 | }, | 1306 | }, |
1310 | }; | 1307 | }; |
1311 | 1308 | ||