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/rfbi.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/rfbi.c')
-rw-r--r-- | drivers/video/omap2/dss/rfbi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/rfbi.c b/drivers/video/omap2/dss/rfbi.c index 6adbea97332e..f18d726b6126 100644 --- a/drivers/video/omap2/dss/rfbi.c +++ b/drivers/video/omap2/dss/rfbi.c @@ -1015,7 +1015,6 @@ static const struct dev_pm_ops rfbi_pm_ops = { }; static struct platform_driver omap_rfbihw_driver = { - .probe = omap_rfbihw_probe, .remove = omap_rfbihw_remove, .driver = { .name = "omapdss_rfbi", @@ -1026,7 +1025,7 @@ static struct platform_driver omap_rfbihw_driver = { int rfbi_init_platform_driver(void) { - return platform_driver_register(&omap_rfbihw_driver); + return platform_driver_probe(&omap_rfbihw_driver, omap_rfbihw_probe); } void rfbi_uninit_platform_driver(void) |