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

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

ASoC: codecs: 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 d0052ec3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1423,7 +1423,6 @@ static int pm860x_codec_remove(struct platform_device *pdev)
static struct platform_driver pm860x_codec_driver = {
	.driver	= {
		.name	= "88pm860x-codec",
		.owner	= THIS_MODULE,
	},
	.probe	= pm860x_codec_probe,
	.remove	= pm860x_codec_remove,
+0 −1
Original line number Diff line number Diff line
@@ -2609,7 +2609,6 @@ static int ab8500_codec_driver_remove(struct platform_device *pdev)
static struct platform_driver ab8500_codec_platform_driver = {
	.driver	= {
		.name	= "ab8500-codec",
		.owner	= THIS_MODULE,
	},
	.probe		= ab8500_codec_driver_probe,
	.remove		= ab8500_codec_driver_remove,
+0 −1
Original line number Diff line number Diff line
@@ -134,7 +134,6 @@ static int ac97_remove(struct platform_device *pdev)
static struct platform_driver ac97_codec_driver = {
	.driver = {
		.name = "ac97-codec",
		.owner = THIS_MODULE,
	},

	.probe = ac97_probe,
+0 −1
Original line number Diff line number Diff line
@@ -312,7 +312,6 @@ static int ad1980_remove(struct platform_device *pdev)
static struct platform_driver ad1980_codec_driver = {
	.driver = {
			.name = "ad1980",
			.owner = THIS_MODULE,
	},

	.probe = ad1980_probe,
+0 −1
Original line number Diff line number Diff line
@@ -76,7 +76,6 @@ static int ad73311_remove(struct platform_device *pdev)
static struct platform_driver ad73311_codec_driver = {
	.driver = {
			.name = "ad73311",
			.owner = THIS_MODULE,
	},

	.probe = ad73311_probe,
Loading