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

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

ASoC: s6000: 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 d20114fd
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -606,7 +606,6 @@ static struct platform_driver s6000_i2s_driver = {
	.remove = s6000_i2s_remove,
	.remove = s6000_i2s_remove,
	.driver = {
	.driver = {
		.name   = "s6000-i2s",
		.name   = "s6000-i2s",
		.owner  = THIS_MODULE,
	},
	},
};
};


+0 −1
Original line number Original line Diff line number Diff line
@@ -507,7 +507,6 @@ static int s6000_soc_platform_remove(struct platform_device *pdev)
static struct platform_driver s6000_pcm_driver = {
static struct platform_driver s6000_pcm_driver = {
	.driver = {
	.driver = {
			.name = "s6000-pcm-audio",
			.name = "s6000-pcm-audio",
			.owner = THIS_MODULE,
	},
	},


	.probe = s6000_soc_platform_probe,
	.probe = s6000_soc_platform_probe,