forked from Minki/linux
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:
parent
2c15043e22
commit
7021949a31
@ -343,7 +343,6 @@ static struct platform_driver uio_dmem_genirq = {
|
||||
.remove = uio_dmem_genirq_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &uio_dmem_genirq_dev_pm_ops,
|
||||
.of_match_table = of_match_ptr(uio_of_genirq_match),
|
||||
},
|
||||
|
@ -266,7 +266,6 @@ static struct platform_driver uio_pdrv_genirq = {
|
||||
.remove = uio_pdrv_genirq_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &uio_pdrv_genirq_dev_pm_ops,
|
||||
.of_match_table = of_match_ptr(uio_of_genirq_match),
|
||||
},
|
||||
|
@ -231,7 +231,6 @@ static struct platform_driver pruss_driver = {
|
||||
.remove = pruss_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user