mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
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>
This commit is contained in:
parent
6c794b2654
commit
51aa31b49f
@ -300,7 +300,6 @@ static struct platform_driver da8xx_rproc_driver = {
|
||||
.remove = da8xx_rproc_remove,
|
||||
.driver = {
|
||||
.name = "davinci-rproc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -228,7 +228,6 @@ static struct platform_driver omap_rproc_driver = {
|
||||
.remove = omap_rproc_remove,
|
||||
.driver = {
|
||||
.name = "omap-rproc",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -331,7 +331,6 @@ static int sproc_probe(struct platform_device *pdev)
|
||||
static struct platform_driver sproc_driver = {
|
||||
.driver = {
|
||||
.name = SPROC_MODEM_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = sproc_probe,
|
||||
.remove = sproc_drv_remove,
|
||||
|
Loading…
Reference in New Issue
Block a user