summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:22:13 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:22:13 +0200
commitf20068009adf34dcc2b10b3f134502205aa9f04e (patch)
tree3b51b365632b048e25d9b426694fbbdc45917202
parentASoC: samsung: drop owner assignment from platform_drivers (diff)
downloadlinux-f20068009adf34dcc2b10b3f134502205aa9f04e.tar.xz
linux-f20068009adf34dcc2b10b3f134502205aa9f04e.zip
ASoC: sh: drop owner assignment from platform_drivers
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>
-rw-r--r--sound/soc/sh/dma-sh7760.c1
-rw-r--r--sound/soc/sh/hac.c1
-rw-r--r--sound/soc/sh/siu_dai.c1
-rw-r--r--sound/soc/sh/ssi.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/sh/dma-sh7760.c b/sound/soc/sh/dma-sh7760.c
index c85f8eb66c97..a5b2c4ea90d9 100644
--- a/sound/soc/sh/dma-sh7760.c
+++ b/sound/soc/sh/dma-sh7760.c
@@ -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,
diff --git a/sound/soc/sh/hac.c b/sound/soc/sh/hac.c
index 0af2e4dfd139..0e0115cf2959 100644
--- a/sound/soc/sh/hac.c
+++ b/sound/soc/sh/hac.c
@@ -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,
diff --git a/sound/soc/sh/siu_dai.c b/sound/soc/sh/siu_dai.c
index d55babee14f8..abb0d956231c 100644
--- a/sound/soc/sh/siu_dai.c
+++ b/sound/soc/sh/siu_dai.c
@@ -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,
diff --git a/sound/soc/sh/ssi.c b/sound/soc/sh/ssi.c
index e889405ebd38..ab13146e4f82 100644
--- a/sound/soc/sh/ssi.c
+++ b/sound/soc/sh/ssi.c
@@ -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,