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>
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);
goto failed_add_clients;
}
+ dev_info(&pdev->dev, "%s probed\n", devtype->name);
+
return 0;
failed_add_clients: