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

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

ASoC: sh: 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 ac204d22
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -345,7 +345,6 @@ static int sh7760_soc_platform_remove(struct platform_device *pdev)
static struct platform_driver sh7760_pcm_driver = {
static struct platform_driver sh7760_pcm_driver = {
	.driver = {
	.driver = {
			.name = "sh7760-pcm-audio",
			.name = "sh7760-pcm-audio",
			.owner = THIS_MODULE,
	},
	},


	.probe = sh7760_soc_platform_probe,
	.probe = sh7760_soc_platform_probe,
+0 −1
Original line number Original line Diff line number Diff line
@@ -333,7 +333,6 @@ static int hac_soc_platform_remove(struct platform_device *pdev)
static struct platform_driver hac_pcm_driver = {
static struct platform_driver hac_pcm_driver = {
	.driver = {
	.driver = {
			.name = "hac-pcm-audio",
			.name = "hac-pcm-audio",
			.owner = THIS_MODULE,
	},
	},


	.probe = hac_soc_platform_probe,
	.probe = hac_soc_platform_probe,
+0 −1
Original line number Original line Diff line number Diff line
@@ -845,7 +845,6 @@ static int siu_remove(struct platform_device *pdev)


static struct platform_driver siu_driver = {
static struct platform_driver siu_driver = {
	.driver 	= {
	.driver 	= {
		.owner	= THIS_MODULE,
		.name	= "siu-pcm-audio",
		.name	= "siu-pcm-audio",
	},
	},
	.probe		= siu_probe,
	.probe		= siu_probe,
+0 −1
Original line number Original line Diff line number Diff line
@@ -398,7 +398,6 @@ static int sh4_soc_dai_remove(struct platform_device *pdev)
static struct platform_driver sh4_ssi_driver = {
static struct platform_driver sh4_ssi_driver = {
	.driver = {
	.driver = {
			.name = "sh4-ssi-dai",
			.name = "sh4-ssi-dai",
			.owner = THIS_MODULE,
	},
	},


	.probe = sh4_soc_dai_probe,
	.probe = sh4_soc_dai_probe,