]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 f2f67942b2294798fdcee596d5ed82142c7d09c1..291ee12d2bb932cdcfee2f97756eb07ace6b9a28 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 f434ed79d1b613bc64470cfa3041f4808b237f47..b779a3d9b5dd4ded757e565141e98f5cbc0f3394 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,