ALSA: mips: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:01 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:01 +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/mips/hal2.c
sound/mips/sgio2audio.c

index 23441b9..ede449f 100644 (file)
@@ -929,7 +929,6 @@ static struct platform_driver hal2_driver = {
        .remove = hal2_remove,
        .driver = {
                .name   = "sgihal2",
-               .owner  = THIS_MODULE,
        }
 };
 
index 04bb06c..0f146a9 100644 (file)
@@ -970,7 +970,6 @@ static struct platform_driver sgio2audio_driver = {
        .remove = snd_sgio2audio_remove,
        .driver = {
                .name   = "sgio2audio",
-               .owner  = THIS_MODULE,
        }
 };