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

index 47849ea..f44dda6 100644 (file)
@@ -652,7 +652,6 @@ static struct platform_driver snd_aica_driver = {
        .remove = snd_aica_remove,
        .driver = {
                .name = SND_AICA_DRIVER,
-               .owner  = THIS_MODULE,
        },
 };
 
index d1fb74d..abf9c0c 100644 (file)
@@ -436,7 +436,6 @@ static struct platform_driver sh_dac_driver = {
        .remove = snd_sh_dac_remove,
        .driver = {
                .name = "dac_audio",
-               .owner  = THIS_MODULE,
        },
 };