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 47849eaf266d5c1e2ba17ddd50edf4dda6381d92..f44dda610ed2e28f4f04251a6eb21c4eac83bd16 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 d1fb74dabbd11f4fd8019cf79c7ca9c3749c2f88..abf9c0cab1e2b69ac8256cd14fae066d9cad7c8f 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,
        },
 };