Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab31135e authored by Wolfram Sang's avatar Wolfram Sang
Browse files

ASoC: : 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 9717b20e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1941,7 +1941,6 @@ EXPORT_SYMBOL_GPL(snd_soc_pm_ops);
static struct platform_driver soc_driver = {
	.driver		= {
		.name		= "soc-audio",
		.owner		= THIS_MODULE,
		.pm		= &snd_soc_pm_ops,
	},
	.probe		= soc_probe,
+0 −1
Original line number Diff line number Diff line
@@ -154,7 +154,6 @@ static int snd_soc_dummy_remove(struct platform_device *pdev)
static struct platform_driver soc_dummy_driver = {
	.driver = {
		.name = "snd-soc-dummy",
		.owner = THIS_MODULE,
	},
	.probe = snd_soc_dummy_probe,
	.remove = snd_soc_dummy_remove,