Skip to content

Commit

Permalink
bus: drop owner assignment from platform_drivers
Browse files Browse the repository at this point in the history
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Wolfram Sang committed Oct 20, 2014
1 parent bacc3ea commit 571b8c6
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/bus/brcmstb_gisb.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ static struct platform_driver brcmstb_gisb_arb_driver = {
.probe = brcmstb_gisb_arb_probe,
.driver = {
.name = "brcm-gisb-arb",
.owner = THIS_MODULE,
.of_match_table = brcmstb_gisb_arb_of_match,
},
};
Expand Down
1 change: 0 additions & 1 deletion drivers/bus/imx-weim.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ static int __init weim_probe(struct platform_device *pdev)
static struct platform_driver weim_driver = {
.driver = {
.name = "imx-weim",
.owner = THIS_MODULE,
.of_match_table = weim_id_table,
},
};
Expand Down
1 change: 0 additions & 1 deletion drivers/bus/omap-ocp2scp.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ static struct platform_driver omap_ocp2scp_driver = {
.remove = omap_ocp2scp_remove,
.driver = {
.name = "omap-ocp2scp",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(omap_ocp2scp_id_table),
},
};
Expand Down
1 change: 0 additions & 1 deletion drivers/bus/omap_l3_noc.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ static struct platform_driver omap_l3_driver = {
.probe = omap_l3_probe,
.driver = {
.name = "omap_l3_noc",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(l3_noc_match),
},
};
Expand Down

0 comments on commit 571b8c6

Please sign in to comment.