staging: ipu-v3: ipu-common: Indicate succesful probe
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 24 Oct 2012 23:36:47 +0000 (21:36 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 19:02:11 +0000 (12:02 -0700)
Indication of succesful probe is more useful than stating that the
driver is about to be probed.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipu-v3/ipu-common.c

index a4de4fa1b00488b85361ceca43cea57e2edecf41..27e77c72c9ca6f0500c499faaa1f016b6cab5424 100644 (file)
@@ -1000,8 +1000,6 @@ static int __devinit ipu_probe(struct platform_device *pdev)
 
        devtype = of_id->data;
 
-       dev_info(&pdev->dev, "Initializing %s\n", devtype->name);
-
        irq_sync = platform_get_irq(pdev, 0);
        irq_err = platform_get_irq(pdev, 1);
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
@@ -1098,6 +1096,8 @@ static int __devinit ipu_probe(struct platform_device *pdev)
                goto failed_add_clients;
        }
 
+       dev_info(&pdev->dev, "%s probed\n", devtype->name);
+
        return 0;
 
 failed_add_clients: