Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310339
b: refs/heads/master
c: 61055d4
h: refs/heads/master
i:
  310337: e2207ad
  310335: 0f46409
v: v3
  • Loading branch information
Tomi Valkeinen committed May 11, 2012
1 parent a47204a commit 3bce7b2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e40402cf182e798fd71824f4ad02fb51ce599bb2
refs/heads/master: 61055d4b2eb164cb81af1e5940a31c7f2e53757e
3 changes: 1 addition & 2 deletions trunk/drivers/video/omap2/dss/dpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/video/omap2/dss/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -4768,7 +4768,6 @@ static const struct dev_pm_ops dsi_pm_ops = {
};

static struct platform_driver omap_dsihw_driver = {
.probe = omap_dsihw_probe,
.remove = omap_dsihw_remove,
.driver = {
.name = "omapdss_dsi",
Expand All @@ -4779,7 +4778,7 @@ static struct platform_driver omap_dsihw_driver = {

int dsi_init_platform_driver(void)
{
return platform_driver_register(&omap_dsihw_driver);
return platform_driver_probe(&omap_dsihw_driver, omap_dsihw_probe);
}

void dsi_uninit_platform_driver(void)
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/video/omap2/dss/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,6 @@ static const struct dev_pm_ops hdmi_pm_ops = {
};

static struct platform_driver omapdss_hdmihw_driver = {
.probe = omapdss_hdmihw_probe,
.remove = omapdss_hdmihw_remove,
.driver = {
.name = "omapdss_hdmi",
Expand All @@ -883,7 +882,7 @@ static struct platform_driver omapdss_hdmihw_driver = {

int hdmi_init_platform_driver(void)
{
return platform_driver_register(&omapdss_hdmihw_driver);
return platform_driver_probe(&omapdss_hdmihw_driver, omapdss_hdmihw_probe);
}

void hdmi_uninit_platform_driver(void)
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/video/omap2/dss/rfbi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/video/omap2/dss/sdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ static int omap_sdi_remove(struct platform_device *pdev)
}

static struct platform_driver omap_sdi_driver = {
.probe = omap_sdi_probe,
.remove = omap_sdi_remove,
.driver = {
.name = "omapdss_sdi",
Expand All @@ -197,7 +196,7 @@ static struct platform_driver omap_sdi_driver = {

int sdi_init_platform_driver(void)
{
return platform_driver_register(&omap_sdi_driver);
return platform_driver_probe(&omap_sdi_driver, omap_sdi_probe);
}

void sdi_uninit_platform_driver(void)
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/video/omap2/dss/venc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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)
Expand Down

0 comments on commit 3bce7b2

Please sign in to comment.