Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310332
b: refs/heads/master
c: 11436e1
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed May 11, 2012
1 parent 2939fb3 commit 4ba08d3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 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: 04c742c3dccac296fdc52b464bd0491ffe88de23
refs/heads/master: 11436e1dd2aab1a33f81a3737ec8641788ec8543
3 changes: 1 addition & 2 deletions trunk/drivers/video/omap2/dss/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ static int omap_dss_resume(struct platform_device *pdev)
}

static struct platform_driver omap_dss_driver = {
.probe = omap_dss_probe,
.remove = omap_dss_remove,
.shutdown = omap_dss_shutdown,
.suspend = omap_dss_suspend,
Expand Down Expand Up @@ -521,7 +520,7 @@ static int __init omap_dss_register_drivers(void)
{
int r;

r = platform_driver_register(&omap_dss_driver);
r = platform_driver_probe(&omap_dss_driver, omap_dss_probe);
if (r)
return r;

Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3595,7 +3595,6 @@ static const struct dev_pm_ops dispc_pm_ops = {
};

static struct platform_driver omap_dispchw_driver = {
.probe = omap_dispchw_probe,
.remove = omap_dispchw_remove,
.driver = {
.name = "omapdss_dispc",
Expand All @@ -3606,7 +3605,7 @@ static struct platform_driver omap_dispchw_driver = {

int dispc_init_platform_driver(void)
{
return platform_driver_register(&omap_dispchw_driver);
return platform_driver_probe(&omap_dispchw_driver, omap_dispchw_probe);
}

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

static struct platform_driver omap_dsshw_driver = {
.probe = omap_dsshw_probe,
.remove = omap_dsshw_remove,
.driver = {
.name = "omapdss_dss",
Expand All @@ -869,7 +868,7 @@ static struct platform_driver omap_dsshw_driver = {

int dss_init_platform_driver(void)
{
return platform_driver_register(&omap_dsshw_driver);
return platform_driver_probe(&omap_dsshw_driver, omap_dsshw_probe);
}

void dss_uninit_platform_driver(void)
Expand Down

0 comments on commit 4ba08d3

Please sign in to comment.