Browse Source

usb: host: fusbh200-hcd: rename two functions

Remove redundant "_fusbh200_" from fusbh200_hcd_fusbh200_probe
and fusbh200_hcd_fusbh200_remove

Signed-off-by: Yuan-Hsin Chen <yhchen@faraday-tech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Yuan-Hsin Chen 12 years ago
parent
commit
2c7c658a23
1 changed files with 6 additions and 6 deletions
  1. 6 6
      drivers/usb/host/fusbh200-hcd.c

+ 6 - 6
drivers/usb/host/fusbh200-hcd.c

@@ -5782,13 +5782,13 @@ static void fusbh200_init(struct fusbh200_hcd *fusbh200)
 }
 
 /**
- * fusbh200_hcd_fusbh200_probe - initialize faraday FUSBH200 HCDs
+ * fusbh200_hcd_probe - initialize faraday FUSBH200 HCDs
  *
  * Allocates basic resources for this USB host controller, and
  * then invokes the start() method for the HCD associated with it
  * through the hotplug entry's driver_data.
  */
-static int fusbh200_hcd_fusbh200_probe(struct platform_device *pdev)
+static int fusbh200_hcd_probe(struct platform_device *pdev)
 {
 	struct device			*dev = &pdev->dev;
 	struct usb_hcd 			*hcd;
@@ -5886,14 +5886,14 @@ fail_create_hcd:
 }
 
 /**
- * fusbh200_hcd_fusbh200_remove - shutdown processing for EHCI HCDs
+ * fusbh200_hcd_remove - shutdown processing for EHCI HCDs
  * @dev: USB Host Controller being removed
  *
  * Reverses the effect of fotg2xx_usb_hcd_probe(), first invoking
  * the HCD's stop() method.  It is always called from a thread
  * context, normally "rmmod", "apmd", or something similar.
  */
-static int fusbh200_hcd_fusbh200_remove(struct platform_device *pdev)
+static int fusbh200_hcd_remove(struct platform_device *pdev)
 {
 	struct device *dev	= &pdev->dev;
 	struct usb_hcd *hcd	= dev_get_drvdata(dev);
@@ -5913,8 +5913,8 @@ static struct platform_driver fusbh200_hcd_fusbh200_driver = {
 	.driver = {
 		.name   = "fusbh200",
 	},
-	.probe  = fusbh200_hcd_fusbh200_probe,
-	.remove = fusbh200_hcd_fusbh200_remove,
+	.probe  = fusbh200_hcd_probe,
+	.remove = fusbh200_hcd_remove,
 };
 
 static int __init fusbh200_hcd_init(void)