summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dpi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-03-07 12:53:38 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-11 14:44:52 +0300
commit61055d4b2eb164cb81af1e5940a31c7f2e53757e (patch)
treee79580e110c1a73b8a917d3ee50f478026069722 /drivers/video/omap2/dss/dpi.c
parente40402cf182e798fd71824f4ad02fb51ce599bb2 (diff)
downloadop-kernel-dev-61055d4b2eb164cb81af1e5940a31c7f2e53757e.zip
op-kernel-dev-61055d4b2eb164cb81af1e5940a31c7f2e53757e.tar.gz
OMAPDSS: use platform_driver_probe for dsi/hdmi/rfbi/venc/dpi/sdi
Now that the core.c doesn't fail if output driver's init fails, we can change the uses of platform_driver_register to platform_driver_probe. This will allow us to use __init in the following patches. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dpi.c')
-rw-r--r--drivers/video/omap2/dss/dpi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c
index 0bb2c48..9316fd1 100644
--- a/drivers/video/omap2/dss/dpi.c
+++ b/drivers/video/omap2/dss/dpi.c
@@ -376,7 +376,6 @@ static int omap_dpi_remove(struct platform_device *pdev)
}
static struct platform_driver omap_dpi_driver = {
- .probe = omap_dpi_probe,
.remove = omap_dpi_remove,
.driver = {
.name = "omapdss_dpi",
@@ -386,7 +385,7 @@ static struct platform_driver omap_dpi_driver = {
int dpi_init_platform_driver(void)
{
- return platform_driver_register(&omap_dpi_driver);
+ return platform_driver_probe(&omap_dpi_driver, omap_dpi_probe);
}
void dpi_uninit_platform_driver(void)
OpenPOWER on IntegriCloud