Commit a4ae8f3b authored by Wolfram Sang's avatar Wolfram Sang

clk: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 71379acc
...@@ -593,7 +593,6 @@ static struct platform_driver axmclk_driver = { ...@@ -593,7 +593,6 @@ static struct platform_driver axmclk_driver = {
.remove = axmclk_remove, .remove = axmclk_remove,
.driver = { .driver = {
.name = "clk-axm5516", .name = "clk-axm5516",
.owner = THIS_MODULE,
.of_match_table = axmclk_match_table, .of_match_table = axmclk_match_table,
}, },
}; };
......
...@@ -294,7 +294,6 @@ static const struct of_device_id ppc_clk_ids[] __initconst = { ...@@ -294,7 +294,6 @@ static const struct of_device_id ppc_clk_ids[] __initconst = {
static struct platform_driver ppc_corenet_clk_driver __initdata = { static struct platform_driver ppc_corenet_clk_driver __initdata = {
.driver = { .driver = {
.name = "ppc_corenet_clock", .name = "ppc_corenet_clock",
.owner = THIS_MODULE,
.of_match_table = ppc_clk_ids, .of_match_table = ppc_clk_ids,
}, },
.probe = ppc_corenet_clk_probe, .probe = ppc_corenet_clk_probe,
......
...@@ -288,7 +288,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_clk_id); ...@@ -288,7 +288,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_clk_id);
static struct platform_driver s2mps11_clk_driver = { static struct platform_driver s2mps11_clk_driver = {
.driver = { .driver = {
.name = "s2mps11-clk", .name = "s2mps11-clk",
.owner = THIS_MODULE,
}, },
.probe = s2mps11_clk_probe, .probe = s2mps11_clk_probe,
.remove = s2mps11_clk_remove, .remove = s2mps11_clk_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment