Example #1
0
File: dpi.c Project: AllenDou/linux
static int __init omap_dpi_probe(struct platform_device *pdev)
{
	mutex_init(&dpi.lock);

	dpi_init_output(pdev);

	dpi_probe_pdata(pdev);

	return 0;
}
Example #2
0
static int omap_dpi_probe(struct platform_device *pdev)
{
	int r;

	mutex_init(&dpi.lock);

	dpi_init_output(pdev);

	r = dpi_probe_pdata(pdev);
	if (r) {
		dpi_uninit_output(pdev);
		return r;
	}

	return 0;
}
Example #3
0
File: dpi.c Project: AllenWeb/linux
static int __init omap_dpi_probe(struct platform_device *pdev)
{
	dpi_probe_pdata(pdev);

	return 0;
}