summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:22:11 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:22:11 +0200
commit9a600224a39aebb2c6b50514c5a4237032b8b653 (patch)
treecc0aade525a9f6859787491f2fe83ae42db0bace /sound
parent38b089d78b3084fa100315e5f167d8019e446eae (diff)
downloadop-kernel-dev-9a600224a39aebb2c6b50514c5a4237032b8b653.zip
op-kernel-dev-9a600224a39aebb2c6b50514c5a4237032b8b653.tar.gz
ASoC: nuc900: 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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/nuc900/nuc900-ac97.c1
-rw-r--r--sound/soc/nuc900/nuc900-pcm.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/nuc900/nuc900-ac97.c b/sound/soc/nuc900/nuc900-ac97.c
index f2f67942..291ee12 100644
--- a/sound/soc/nuc900/nuc900-ac97.c
+++ b/sound/soc/nuc900/nuc900-ac97.c
@@ -385,7 +385,6 @@ static int nuc900_ac97_drvremove(struct platform_device *pdev)
static struct platform_driver nuc900_ac97_driver = {
.driver = {
.name = "nuc900-ac97",
- .owner = THIS_MODULE,
},
.probe = nuc900_ac97_drvprobe,
.remove = nuc900_ac97_drvremove,
diff --git a/sound/soc/nuc900/nuc900-pcm.c b/sound/soc/nuc900/nuc900-pcm.c
index f434ed7..b779a3d 100644
--- a/sound/soc/nuc900/nuc900-pcm.c
+++ b/sound/soc/nuc900/nuc900-pcm.c
@@ -347,7 +347,6 @@ static int nuc900_soc_platform_remove(struct platform_device *pdev)
static struct platform_driver nuc900_pcm_driver = {
.driver = {
.name = "nuc900-pcm-audio",
- .owner = THIS_MODULE,
},
.probe = nuc900_soc_platform_probe,
OpenPOWER on IntegriCloud