diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:11 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:11 -0400 |
commit | 9a600224a39aebb2c6b50514c5a4237032b8b653 (patch) | |
tree | cc0aade525a9f6859787491f2fe83ae42db0bace /sound | |
parent | 38b089d78b3084fa100315e5f167d8019e446eae (diff) |
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.c | 1 | ||||
-rw-r--r-- | sound/soc/nuc900/nuc900-pcm.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/nuc900/nuc900-ac97.c b/sound/soc/nuc900/nuc900-ac97.c index f2f67942b229..291ee12d2bb9 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) | |||
385 | static struct platform_driver nuc900_ac97_driver = { | 385 | static struct platform_driver nuc900_ac97_driver = { |
386 | .driver = { | 386 | .driver = { |
387 | .name = "nuc900-ac97", | 387 | .name = "nuc900-ac97", |
388 | .owner = THIS_MODULE, | ||
389 | }, | 388 | }, |
390 | .probe = nuc900_ac97_drvprobe, | 389 | .probe = nuc900_ac97_drvprobe, |
391 | .remove = nuc900_ac97_drvremove, | 390 | .remove = nuc900_ac97_drvremove, |
diff --git a/sound/soc/nuc900/nuc900-pcm.c b/sound/soc/nuc900/nuc900-pcm.c index f434ed79d1b6..b779a3d9b5dd 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) | |||
347 | static struct platform_driver nuc900_pcm_driver = { | 347 | static struct platform_driver nuc900_pcm_driver = { |
348 | .driver = { | 348 | .driver = { |
349 | .name = "nuc900-pcm-audio", | 349 | .name = "nuc900-pcm-audio", |
350 | .owner = THIS_MODULE, | ||
351 | }, | 350 | }, |
352 | 351 | ||
353 | .probe = nuc900_soc_platform_probe, | 352 | .probe = nuc900_soc_platform_probe, |