]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
usb: host: ehci-mxc: Remove dev_info on probe
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 20 Feb 2013 19:52:26 +0000 (16:52 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:24:56 +0000 (11:24 -0700)
It is not very useful to indicate the the driver is about to be probed.

Quoting Alan Stern [1]:

"Plenty of drivers don't include any message like this at all.  You
might as well get rid of it entirely."

Remove such dev_info().

[1] http://marc.info/?l=linux-usb&m=136138896132433&w=2

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mxc.c

index 18c30af69b16e4236fb8979b46723f3caf9043e3..b5b7be45e3010f2bb6d3237caf400d973e150f5b 100644 (file)
@@ -57,8 +57,6 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev)
        struct device *dev = &pdev->dev;
        struct ehci_hcd *ehci;
 
-       dev_info(&pdev->dev, "initializing i.MX USB Controller\n");
-
        if (!pdata) {
                dev_err(dev, "No platform data given, bailing out.\n");
                return -EINVAL;