ASoC: sh: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:13 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:13 +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/soc/sh/dma-sh7760.c
sound/soc/sh/hac.c
sound/soc/sh/siu_dai.c
sound/soc/sh/ssi.c

index c85f8eb66c972892654b7a4e37e2818b779f2b65..a5b2c4ea90d96443f9f389f028de2a17d8fb8334 100644 (file)
@@ -345,7 +345,6 @@ static int sh7760_soc_platform_remove(struct platform_device *pdev)
 static struct platform_driver sh7760_pcm_driver = {
        .driver = {
                        .name = "sh7760-pcm-audio",
-                       .owner = THIS_MODULE,
        },
 
        .probe = sh7760_soc_platform_probe,
index 0af2e4dfd13949a502e670846a84e098bff1719a..0e0115cf295962aaccc83b1a456119259f6f86a9 100644 (file)
@@ -333,7 +333,6 @@ static int hac_soc_platform_remove(struct platform_device *pdev)
 static struct platform_driver hac_pcm_driver = {
        .driver = {
                        .name = "hac-pcm-audio",
-                       .owner = THIS_MODULE,
        },
 
        .probe = hac_soc_platform_probe,
index d55babee14f83f42f5d354cfaddcca0f58df40ee..abb0d956231ca1235333ffd516595ca8fc5b083d 100644 (file)
@@ -845,7 +845,6 @@ static int siu_remove(struct platform_device *pdev)
 
 static struct platform_driver siu_driver = {
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "siu-pcm-audio",
        },
        .probe          = siu_probe,
index e889405ebd385db5143b9aa63d2479f529035331..ab13146e4f826cb8182ce3209e276f1af37bf418 100644 (file)
@@ -398,7 +398,6 @@ static int sh4_soc_dai_remove(struct platform_device *pdev)
 static struct platform_driver sh4_ssi_driver = {
        .driver = {
                        .name = "sh4-ssi-dai",
-                       .owner = THIS_MODULE,
        },
 
        .probe = sh4_soc_dai_probe,