summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:22:10 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:22:10 +0200
commit38b089d78b3084fa100315e5f167d8019e446eae (patch)
tree2d3a5ae27fb5a7ed56b81bf2e3caeb9043bb392e
parentb4c1456f86af6a73b2d716ad21cd6fdfad784bf0 (diff)
downloadlinux-38b089d78b3084fa100315e5f167d8019e446eae.tar.bz2
ASoC: mxs: 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/mxs/mxs-saif.c1
-rw-r--r--sound/soc/mxs/mxs-sgtl5000.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index 231d7e7b0711..eade2742a937 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -815,7 +815,6 @@ static struct platform_driver mxs_saif_driver = {
.driver = {
.name = "mxs-saif",
- .owner = THIS_MODULE,
.of_match_table = mxs_saif_dt_ids,
},
};
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index 61822cc53bd3..7515cd434e21 100644
--- a/sound/soc/mxs/mxs-sgtl5000.c
+++ b/sound/soc/mxs/mxs-sgtl5000.c
@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, mxs_sgtl5000_dt_ids);
static struct platform_driver mxs_sgtl5000_audio_driver = {
.driver = {
.name = "mxs-sgtl5000",
- .owner = THIS_MODULE,
.of_match_table = mxs_sgtl5000_dt_ids,
},
.probe = mxs_sgtl5000_probe,