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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Wolfram Sang 2014-10-20 16:21:46 +02:00
parent 2c15043e22
commit 7021949a31
3 changed files with 0 additions and 3 deletions

View File

@ -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),
}, },

View File

@ -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),
}, },

View File

@ -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,
}, },
}; };