Commit 7021949a authored by Wolfram Sang's avatar Wolfram Sang

uio: 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 2c15043e
...@@ -343,7 +343,6 @@ static struct platform_driver uio_dmem_genirq = { ...@@ -343,7 +343,6 @@ static struct platform_driver uio_dmem_genirq = {
.remove = uio_dmem_genirq_remove, .remove = uio_dmem_genirq_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
.pm = &uio_dmem_genirq_dev_pm_ops, .pm = &uio_dmem_genirq_dev_pm_ops,
.of_match_table = of_match_ptr(uio_of_genirq_match), .of_match_table = of_match_ptr(uio_of_genirq_match),
}, },
......
...@@ -266,7 +266,6 @@ static struct platform_driver uio_pdrv_genirq = { ...@@ -266,7 +266,6 @@ static struct platform_driver uio_pdrv_genirq = {
.remove = uio_pdrv_genirq_remove, .remove = uio_pdrv_genirq_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
.pm = &uio_pdrv_genirq_dev_pm_ops, .pm = &uio_pdrv_genirq_dev_pm_ops,
.of_match_table = of_match_ptr(uio_of_genirq_match), .of_match_table = of_match_ptr(uio_of_genirq_match),
}, },
......
...@@ -231,7 +231,6 @@ static struct platform_driver pruss_driver = { ...@@ -231,7 +231,6 @@ static struct platform_driver pruss_driver = {
.remove = pruss_remove, .remove = pruss_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
}; };
......
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