提交 9c2c438c 编写于 作者: F Fabio Estevam 提交者: Greg Kroah-Hartman

staging: ipu-v3: ipu-common: Indicate succesful probe

Indication of succesful probe is more useful than stating that the
driver is about to be probed.
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 fd563dbb
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册