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 23441b9e6148b6ded73a89c01eb3ac93e65a4895..ede449f0b50d7f04fc523d1becef71118b423849 100644 (file)
@@ -929,7 +929,6 @@ static struct platform_driver hal2_driver = {
        .remove = hal2_remove,
        .driver = {
                .name   = "sgihal2",
-               .owner  = THIS_MODULE,
        }
 };
 
index 04bb06c03ec80bf2673644f616cbfb39579f6ba3..0f146a9fca49b740117cd4a6f42fdfc1954cdc93 100644 (file)
@@ -970,7 +970,6 @@ static struct platform_driver sgio2audio_driver = {
        .remove = snd_sgio2audio_remove,
        .driver = {
                .name   = "sgio2audio",
-               .owner  = THIS_MODULE,
        }
 };