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 | c9845a84be87e04e0d360c1e4bc48a0e953b1eb2 (patch) | |
tree | 820030e23f803c4e1f91ef4a33d5b6fae1e9f440 | |
parent | 7af23bd9f39228cd128a61f4700d915f31bac973 (diff) |
ASoC: atmel: 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/atmel/atmel_wm8904.c | 1 | ||||
-rw-r--r-- | sound/soc/atmel/sam9g20_wm8731.c | 1 | ||||
-rw-r--r-- | sound/soc/atmel/sam9x5_wm8731.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c index 4052268ce462..aa354e1c6ff7 100644 --- a/sound/soc/atmel/atmel_wm8904.c +++ b/sound/soc/atmel/atmel_wm8904.c | |||
@@ -181,7 +181,6 @@ static const struct of_device_id atmel_asoc_wm8904_dt_ids[] = { | |||
181 | static struct platform_driver atmel_asoc_wm8904_driver = { | 181 | static struct platform_driver atmel_asoc_wm8904_driver = { |
182 | .driver = { | 182 | .driver = { |
183 | .name = "atmel-wm8904-audio", | 183 | .name = "atmel-wm8904-audio", |
184 | .owner = THIS_MODULE, | ||
185 | .of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids), | 184 | .of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids), |
186 | }, | 185 | }, |
187 | .probe = atmel_asoc_wm8904_probe, | 186 | .probe = atmel_asoc_wm8904_probe, |
diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c index bb1149126c54..66b66d0e7514 100644 --- a/sound/soc/atmel/sam9g20_wm8731.c +++ b/sound/soc/atmel/sam9g20_wm8731.c | |||
@@ -309,7 +309,6 @@ MODULE_DEVICE_TABLE(of, at91sam9g20ek_wm8731_dt_ids); | |||
309 | static struct platform_driver at91sam9g20ek_audio_driver = { | 309 | static struct platform_driver at91sam9g20ek_audio_driver = { |
310 | .driver = { | 310 | .driver = { |
311 | .name = "at91sam9g20ek-audio", | 311 | .name = "at91sam9g20ek-audio", |
312 | .owner = THIS_MODULE, | ||
313 | .of_match_table = of_match_ptr(at91sam9g20ek_wm8731_dt_ids), | 312 | .of_match_table = of_match_ptr(at91sam9g20ek_wm8731_dt_ids), |
314 | }, | 313 | }, |
315 | .probe = at91sam9g20ek_audio_probe, | 314 | .probe = at91sam9g20ek_audio_probe, |
diff --git a/sound/soc/atmel/sam9x5_wm8731.c b/sound/soc/atmel/sam9x5_wm8731.c index 3188036a18f0..ccdf547f4d8c 100644 --- a/sound/soc/atmel/sam9x5_wm8731.c +++ b/sound/soc/atmel/sam9x5_wm8731.c | |||
@@ -192,7 +192,6 @@ MODULE_DEVICE_TABLE(of, sam9x5_wm8731_of_match); | |||
192 | static struct platform_driver sam9x5_wm8731_driver = { | 192 | static struct platform_driver sam9x5_wm8731_driver = { |
193 | .driver = { | 193 | .driver = { |
194 | .name = DRV_NAME, | 194 | .name = DRV_NAME, |
195 | .owner = THIS_MODULE, | ||
196 | .of_match_table = of_match_ptr(sam9x5_wm8731_of_match), | 195 | .of_match_table = of_match_ptr(sam9x5_wm8731_of_match), |
197 | }, | 196 | }, |
198 | .probe = sam9x5_wm8731_driver_probe, | 197 | .probe = sam9x5_wm8731_driver_probe, |