ALSA: arm: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:59 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:59 +0000 (16:21 +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/arm/pxa2xx-ac97.c

index 3a10df6..38590b3 100644 (file)
@@ -241,7 +241,6 @@ static struct platform_driver pxa2xx_ac97_driver = {
        .remove         = pxa2xx_ac97_remove,
        .driver         = {
                .name   = "pxa2xx-ac97",
-               .owner  = THIS_MODULE,
 #ifdef CONFIG_PM_SLEEP
                .pm     = &pxa2xx_ac97_pm_ops,
 #endif