All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: gadget: f_mass_storage: remove deprecated fsg_add()
@ 2012-03-16 11:21 Michal Nazarewicz
  2012-03-16 11:25 ` Michal Nazarewicz
  2012-04-12 10:13 ` Michal Nazarewicz
  0 siblings, 2 replies; 9+ messages in thread
From: Michal Nazarewicz @ 2012-03-16 11:21 UTC (permalink / raw)
  To: Felipe Balbi; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

From: Michal Nazarewicz <mina86@mina86.com>

There are no in-tree fsg_add() users and it has been deprecated
since 2.6.35 [1dc90985d1: fsg_add() renamed to fsg_bind_config()] so
out-of-tree users had more then enough time to convert.  Removing.
---
 drivers/usb/gadget/f_mass_storage.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/usb/gadget/f_mass_storage.c b/drivers/usb/gadget/f_mass_storage.c
index a371e96..47383f4 100644
--- a/drivers/usb/gadget/f_mass_storage.c
+++ b/drivers/usb/gadget/f_mass_storage.c
@@ -3110,13 +3110,6 @@ static int fsg_bind_config(struct usb_composite_dev *cdev,
 	return rc;
 }
 
-static inline int __deprecated __maybe_unused
-fsg_add(struct usb_composite_dev *cdev, struct usb_configuration *c,
-	struct fsg_common *common)
-{
-	return fsg_bind_config(cdev, c, common);
-}
-
 
 /************************* Module parameters *************************/
 
-- 
1.7.9.2


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-12 11:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16 11:21 [PATCH] usb: gadget: f_mass_storage: remove deprecated fsg_add() Michal Nazarewicz
2012-03-16 11:25 ` Michal Nazarewicz
2012-04-11  9:41   ` Felipe Balbi
2012-04-11 15:25     ` Greg Kroah-Hartman
2012-04-11 19:49       ` Michal Nazarewicz
2012-04-12  7:52         ` Felipe Balbi
2012-04-12 10:16           ` Michal Nazarewicz
2012-04-12 10:13 ` Michal Nazarewicz
2012-04-12 11:25   ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.