Skip to content

Commit

Permalink
staging: ipu-v3: ipu-common: Indicate succesful probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Greg Kroah-Hartman committed Oct 25, 2012
1 parent fd563db commit 9c2c438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/imx-drm/ipu-v3/ipu-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 9c2c438

Please sign in to comment.