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 | d34135b4c0ef4508f514ba43e02b226e4ba9236b (patch) | |
tree | 1a6ed41a3dc05e591721396398a2575665e5e295 | |
parent | 9a600224a39aebb2c6b50514c5a4237032b8b653 (diff) |
ASoC: omap: 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/omap/ams-delta.c | 1 | ||||
-rw-r--r-- | sound/soc/omap/omap-abe-twl6040.c | 1 | ||||
-rw-r--r-- | sound/soc/omap/omap-dmic.c | 1 | ||||
-rw-r--r-- | sound/soc/omap/omap-hdmi-card.c | 1 | ||||
-rw-r--r-- | sound/soc/omap/omap-hdmi.c | 1 | ||||
-rw-r--r-- | sound/soc/omap/omap-mcbsp.c | 1 | ||||
-rw-r--r-- | sound/soc/omap/omap-mcpdm.c | 1 | ||||
-rw-r--r-- | sound/soc/omap/omap-twl4030.c | 1 | ||||
-rw-r--r-- | sound/soc/omap/rx51.c | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 8c9cc64a9dfb..4c6afb75eea6 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c | |||
@@ -599,7 +599,6 @@ static int ams_delta_remove(struct platform_device *pdev) | |||
599 | static struct platform_driver ams_delta_driver = { | 599 | static struct platform_driver ams_delta_driver = { |
600 | .driver = { | 600 | .driver = { |
601 | .name = DRV_NAME, | 601 | .name = DRV_NAME, |
602 | .owner = THIS_MODULE, | ||
603 | }, | 602 | }, |
604 | .probe = ams_delta_probe, | 603 | .probe = ams_delta_probe, |
605 | .remove = ams_delta_remove, | 604 | .remove = ams_delta_remove, |
diff --git a/sound/soc/omap/omap-abe-twl6040.c b/sound/soc/omap/omap-abe-twl6040.c index cec836ed0c01..b9c65f1ad5a8 100644 --- a/sound/soc/omap/omap-abe-twl6040.c +++ b/sound/soc/omap/omap-abe-twl6040.c | |||
@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, omap_abe_of_match); | |||
354 | static struct platform_driver omap_abe_driver = { | 354 | static struct platform_driver omap_abe_driver = { |
355 | .driver = { | 355 | .driver = { |
356 | .name = "omap-abe-twl6040", | 356 | .name = "omap-abe-twl6040", |
357 | .owner = THIS_MODULE, | ||
358 | .pm = &snd_soc_pm_ops, | 357 | .pm = &snd_soc_pm_ops, |
359 | .of_match_table = omap_abe_of_match, | 358 | .of_match_table = omap_abe_of_match, |
360 | }, | 359 | }, |
diff --git a/sound/soc/omap/omap-dmic.c b/sound/soc/omap/omap-dmic.c index 0f34e28a3d55..09db2aec12a3 100644 --- a/sound/soc/omap/omap-dmic.c +++ b/sound/soc/omap/omap-dmic.c | |||
@@ -509,7 +509,6 @@ MODULE_DEVICE_TABLE(of, omap_dmic_of_match); | |||
509 | static struct platform_driver asoc_dmic_driver = { | 509 | static struct platform_driver asoc_dmic_driver = { |
510 | .driver = { | 510 | .driver = { |
511 | .name = "omap-dmic", | 511 | .name = "omap-dmic", |
512 | .owner = THIS_MODULE, | ||
513 | .of_match_table = omap_dmic_of_match, | 512 | .of_match_table = omap_dmic_of_match, |
514 | }, | 513 | }, |
515 | .probe = asoc_dmic_probe, | 514 | .probe = asoc_dmic_probe, |
diff --git a/sound/soc/omap/omap-hdmi-card.c b/sound/soc/omap/omap-hdmi-card.c index f649fe84b629..788d5dfd388f 100644 --- a/sound/soc/omap/omap-hdmi-card.c +++ b/sound/soc/omap/omap-hdmi-card.c | |||
@@ -73,7 +73,6 @@ static int omap_hdmi_remove(struct platform_device *pdev) | |||
73 | static struct platform_driver omap_hdmi_driver = { | 73 | static struct platform_driver omap_hdmi_driver = { |
74 | .driver = { | 74 | .driver = { |
75 | .name = DRV_NAME, | 75 | .name = DRV_NAME, |
76 | .owner = THIS_MODULE, | ||
77 | }, | 76 | }, |
78 | .probe = omap_hdmi_probe, | 77 | .probe = omap_hdmi_probe, |
79 | .remove = omap_hdmi_remove, | 78 | .remove = omap_hdmi_remove, |
diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c index eb9c39299f81..3abe80a68be2 100644 --- a/sound/soc/omap/omap-hdmi.c +++ b/sound/soc/omap/omap-hdmi.c | |||
@@ -349,7 +349,6 @@ static int omap_hdmi_remove(struct platform_device *pdev) | |||
349 | static struct platform_driver hdmi_dai_driver = { | 349 | static struct platform_driver hdmi_dai_driver = { |
350 | .driver = { | 350 | .driver = { |
351 | .name = DRV_NAME, | 351 | .name = DRV_NAME, |
352 | .owner = THIS_MODULE, | ||
353 | }, | 352 | }, |
354 | .probe = omap_hdmi_probe, | 353 | .probe = omap_hdmi_probe, |
355 | .remove = omap_hdmi_remove, | 354 | .remove = omap_hdmi_remove, |
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index bd3ef2a88be0..8b79cafab1e2 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c | |||
@@ -831,7 +831,6 @@ static int asoc_mcbsp_remove(struct platform_device *pdev) | |||
831 | static struct platform_driver asoc_mcbsp_driver = { | 831 | static struct platform_driver asoc_mcbsp_driver = { |
832 | .driver = { | 832 | .driver = { |
833 | .name = "omap-mcbsp", | 833 | .name = "omap-mcbsp", |
834 | .owner = THIS_MODULE, | ||
835 | .of_match_table = omap_mcbsp_of_match, | 834 | .of_match_table = omap_mcbsp_of_match, |
836 | }, | 835 | }, |
837 | 836 | ||
diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c index f0e2ebeab02b..b837265ac3e9 100644 --- a/sound/soc/omap/omap-mcpdm.c +++ b/sound/soc/omap/omap-mcpdm.c | |||
@@ -512,7 +512,6 @@ MODULE_DEVICE_TABLE(of, omap_mcpdm_of_match); | |||
512 | static struct platform_driver asoc_mcpdm_driver = { | 512 | static struct platform_driver asoc_mcpdm_driver = { |
513 | .driver = { | 513 | .driver = { |
514 | .name = "omap-mcpdm", | 514 | .name = "omap-mcpdm", |
515 | .owner = THIS_MODULE, | ||
516 | .of_match_table = omap_mcpdm_of_match, | 515 | .of_match_table = omap_mcpdm_of_match, |
517 | }, | 516 | }, |
518 | 517 | ||
diff --git a/sound/soc/omap/omap-twl4030.c b/sound/soc/omap/omap-twl4030.c index 4336d1831485..5e551c762b7a 100644 --- a/sound/soc/omap/omap-twl4030.c +++ b/sound/soc/omap/omap-twl4030.c | |||
@@ -375,7 +375,6 @@ MODULE_DEVICE_TABLE(of, omap_twl4030_of_match); | |||
375 | static struct platform_driver omap_twl4030_driver = { | 375 | static struct platform_driver omap_twl4030_driver = { |
376 | .driver = { | 376 | .driver = { |
377 | .name = "omap-twl4030", | 377 | .name = "omap-twl4030", |
378 | .owner = THIS_MODULE, | ||
379 | .pm = &snd_soc_pm_ops, | 378 | .pm = &snd_soc_pm_ops, |
380 | .of_match_table = omap_twl4030_of_match, | 379 | .of_match_table = omap_twl4030_of_match, |
381 | }, | 380 | }, |
diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c index b10ae8074461..04896d6252a2 100644 --- a/sound/soc/omap/rx51.c +++ b/sound/soc/omap/rx51.c | |||
@@ -519,7 +519,6 @@ MODULE_DEVICE_TABLE(of, rx51_audio_of_match); | |||
519 | static struct platform_driver rx51_soc_driver = { | 519 | static struct platform_driver rx51_soc_driver = { |
520 | .driver = { | 520 | .driver = { |
521 | .name = "rx51-audio", | 521 | .name = "rx51-audio", |
522 | .owner = THIS_MODULE, | ||
523 | .of_match_table = of_match_ptr(rx51_audio_of_match), | 522 | .of_match_table = of_match_ptr(rx51_audio_of_match), |
524 | }, | 523 | }, |
525 | .probe = rx51_soc_probe, | 524 | .probe = rx51_soc_probe, |