diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:03 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:22:03 -0400 |
commit | 7af23bd9f39228cd128a61f4700d915f31bac973 (patch) | |
tree | f77d11763969b0bb192e9447f99faf8513850acf | |
parent | ab31135e6ed873011b40e6f547831757a275d15b (diff) |
ASoC: adi: 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/adi/axi-i2s.c | 1 | ||||
-rw-r--r-- | sound/soc/adi/axi-spdif.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/adi/axi-i2s.c b/sound/soc/adi/axi-i2s.c index 6058c1fd5070..7752860f7230 100644 --- a/sound/soc/adi/axi-i2s.c +++ b/sound/soc/adi/axi-i2s.c | |||
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, axi_i2s_of_match); | |||
263 | static struct platform_driver axi_i2s_driver = { | 263 | static struct platform_driver axi_i2s_driver = { |
264 | .driver = { | 264 | .driver = { |
265 | .name = "axi-i2s", | 265 | .name = "axi-i2s", |
266 | .owner = THIS_MODULE, | ||
267 | .of_match_table = axi_i2s_of_match, | 266 | .of_match_table = axi_i2s_of_match, |
268 | }, | 267 | }, |
269 | .probe = axi_i2s_probe, | 268 | .probe = axi_i2s_probe, |
diff --git a/sound/soc/adi/axi-spdif.c b/sound/soc/adi/axi-spdif.c index 198e3a4640f6..d7259d412892 100644 --- a/sound/soc/adi/axi-spdif.c +++ b/sound/soc/adi/axi-spdif.c | |||
@@ -258,7 +258,6 @@ MODULE_DEVICE_TABLE(of, axi_spdif_of_match); | |||
258 | static struct platform_driver axi_spdif_driver = { | 258 | static struct platform_driver axi_spdif_driver = { |
259 | .driver = { | 259 | .driver = { |
260 | .name = "axi-spdif", | 260 | .name = "axi-spdif", |
261 | .owner = THIS_MODULE, | ||
262 | .of_match_table = axi_spdif_of_match, | 261 | .of_match_table = axi_spdif_of_match, |
263 | }, | 262 | }, |
264 | .probe = axi_spdif_probe, | 263 | .probe = axi_spdif_probe, |