Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c7c658a authored by Yuan-Hsin Chen's avatar Yuan-Hsin Chen Committed by Greg Kroah-Hartman
Browse files

usb: host: fusbh200-hcd: rename two functions



Remove redundant "_fusbh200_" from fusbh200_hcd_fusbh200_probe
and fusbh200_hcd_fusbh200_remove

Signed-off-by: default avatarYuan-Hsin Chen <yhchen@faraday-tech.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 88f3ec27
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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 @@ static int fusbh200_hcd_fusbh200_probe(struct platform_device *pdev)
}

/**
 * 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)