diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-03-07 11:53:38 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-11 13:44:52 +0200 |
commit | 61055d4b2eb164cb81af1e5940a31c7f2e53757e (patch) | |
tree | e79580e110c1a73b8a917d3ee50f478026069722 /drivers/video/omap2/dss/venc.c | |
parent | OMAPDSS: move the creation of debugfs files (diff) | |
download | linux-61055d4b2eb164cb81af1e5940a31c7f2e53757e.tar.xz linux-61055d4b2eb164cb81af1e5940a31c7f2e53757e.zip |
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/venc.c')
-rw-r--r-- | drivers/video/omap2/dss/venc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c index ebb6ec60e9a8..1756b4fa7c67 100644 --- a/drivers/video/omap2/dss/venc.c +++ b/drivers/video/omap2/dss/venc.c @@ -929,7 +929,6 @@ static const struct dev_pm_ops venc_pm_ops = { }; static struct platform_driver omap_venchw_driver = { - .probe = omap_venchw_probe, .remove = omap_venchw_remove, .driver = { .name = "omapdss_venc", @@ -943,7 +942,7 @@ int venc_init_platform_driver(void) if (cpu_is_omap44xx()) return 0; - return platform_driver_register(&omap_venchw_driver); + return platform_driver_probe(&omap_venchw_driver, omap_venchw_probe); } void venc_uninit_platform_driver(void) |