diff mbox

[26/28] ASoC: pxa: drop owner assignment from platform_drivers

Message ID 1419196495-9626-27-git-send-email-wsa@the-dreams.de (mailing list archive)
State Accepted
Commit 7e0fc116c41f0ca93c4d3de6d26c223c92182857
Headers show

Commit Message

Wolfram Sang Dec. 21, 2014, 9:14 p.m. UTC
This 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>
---
Generated with coccinelle. SmPL file is in the introductory msg. The big
cleanup was pulled in this merge window. This series catches the bits fallen
through. The patches shall go in via the subsystem trees.

 sound/soc/pxa/spitz.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown Dec. 22, 2014, 12:02 p.m. UTC | #1
On Sun, Dec 21, 2014 at 10:14:47PM +0100, Wolfram Sang wrote:
> This platform_driver does not need to set an owner, it will be populated by the
> driver core.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/pxa/spitz.c b/sound/soc/pxa/spitz.c
index d7d5fb20ea6f..a6d680acd907 100644
--- a/sound/soc/pxa/spitz.c
+++ b/sound/soc/pxa/spitz.c
@@ -352,7 +352,6 @@  static int spitz_remove(struct platform_device *pdev)
 static struct platform_driver spitz_driver = {
 	.driver		= {
 		.name	= "spitz-audio",
-		.owner	= THIS_MODULE,
 		.pm     = &snd_soc_pm_ops,
 	},
 	.probe		= spitz_probe,