1
0
Fork 0

remoteproc: 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>
hifive-unleashed-5.1
Wolfram Sang 2014-10-20 16:21:29 +02:00
parent 6c794b2654
commit 51aa31b49f
3 changed files with 0 additions and 3 deletions

View File

@ -300,7 +300,6 @@ static struct platform_driver da8xx_rproc_driver = {
.remove = da8xx_rproc_remove,
.driver = {
.name = "davinci-rproc",
.owner = THIS_MODULE,
},
};

View File

@ -228,7 +228,6 @@ static struct platform_driver omap_rproc_driver = {
.remove = omap_rproc_remove,
.driver = {
.name = "omap-rproc",
.owner = THIS_MODULE,
},
};

View File

@ -331,7 +331,6 @@ free_rproc:
static struct platform_driver sproc_driver = {
.driver = {
.name = SPROC_MODEM_NAME,
.owner = THIS_MODULE,
},
.probe = sproc_probe,
.remove = sproc_drv_remove,