ASoC: nuc900: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:11 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:11 +0000 (16:22 +0200)
A 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>
sound/soc/nuc900/nuc900-ac97.c
sound/soc/nuc900/nuc900-pcm.c

index f2f6794..291ee12 100644 (file)
@@ -385,7 +385,6 @@ static int nuc900_ac97_drvremove(struct platform_device *pdev)
 static struct platform_driver nuc900_ac97_driver = {
        .driver = {
                .name   = "nuc900-ac97",
-               .owner  = THIS_MODULE,
        },
        .probe          = nuc900_ac97_drvprobe,
        .remove         = nuc900_ac97_drvremove,
index f434ed7..b779a3d 100644 (file)
@@ -347,7 +347,6 @@ static int nuc900_soc_platform_remove(struct platform_device *pdev)
 static struct platform_driver nuc900_pcm_driver = {
        .driver = {
                        .name = "nuc900-pcm-audio",
-                       .owner = THIS_MODULE,
        },
 
        .probe = nuc900_soc_platform_probe,