ASoC: intel: 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>
This commit is contained in:
Wolfram Sang 2014-10-20 16:22:09 +02:00
parent ffd35fa74f
commit 3c1af8802e
9 changed files with 0 additions and 9 deletions

View File

@ -238,7 +238,6 @@ static struct platform_driver broadwell_audio = {
.remove = broadwell_audio_remove, .remove = broadwell_audio_remove,
.driver = { .driver = {
.name = "broadwell-audio", .name = "broadwell-audio",
.owner = THIS_MODULE,
}, },
}; };

View File

@ -181,7 +181,6 @@ static struct platform_driver byt_max98090_driver = {
.remove = byt_max98090_remove, .remove = byt_max98090_remove,
.driver = { .driver = {
.name = "byt-max98090", .name = "byt-max98090",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
}, },
}; };

View File

@ -224,7 +224,6 @@ static struct platform_driver byt_rt5640_audio = {
.probe = byt_rt5640_probe, .probe = byt_rt5640_probe,
.driver = { .driver = {
.name = "byt-rt5640", .name = "byt-rt5640",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
}, },
}; };

View File

@ -209,7 +209,6 @@ static struct platform_driver haswell_audio = {
.probe = haswell_audio_probe, .probe = haswell_audio_probe,
.driver = { .driver = {
.name = "haswell-audio", .name = "haswell-audio",
.owner = THIS_MODULE,
}, },
}; };

View File

@ -420,7 +420,6 @@ static int snd_mfld_mc_probe(struct platform_device *pdev)
static struct platform_driver snd_mfld_mc_driver = { static struct platform_driver snd_mfld_mc_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "msic_audio", .name = "msic_audio",
}, },
.probe = snd_mfld_mc_probe, .probe = snd_mfld_mc_probe,

View File

@ -275,7 +275,6 @@ static struct platform_driver sst_acpi_driver = {
.remove = sst_acpi_remove, .remove = sst_acpi_remove,
.driver = { .driver = {
.name = "sst-acpi", .name = "sst-acpi",
.owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(sst_acpi_match), .acpi_match_table = ACPI_PTR(sst_acpi_match),
}, },
}; };

View File

@ -497,7 +497,6 @@ static int sst_byt_pcm_dev_remove(struct platform_device *pdev)
static struct platform_driver sst_byt_pcm_driver = { static struct platform_driver sst_byt_pcm_driver = {
.driver = { .driver = {
.name = "baytrail-pcm-audio", .name = "baytrail-pcm-audio",
.owner = THIS_MODULE,
.pm = SST_BYT_PM_OPS, .pm = SST_BYT_PM_OPS,
}, },

View File

@ -901,7 +901,6 @@ static int hsw_pcm_dev_remove(struct platform_device *pdev)
static struct platform_driver hsw_pcm_driver = { static struct platform_driver hsw_pcm_driver = {
.driver = { .driver = {
.name = "haswell-pcm-audio", .name = "haswell-pcm-audio",
.owner = THIS_MODULE,
}, },
.probe = hsw_pcm_dev_probe, .probe = hsw_pcm_dev_probe,

View File

@ -639,7 +639,6 @@ static int sst_platform_remove(struct platform_device *pdev)
static struct platform_driver sst_platform_driver = { static struct platform_driver sst_platform_driver = {
.driver = { .driver = {
.name = "sst-mfld-platform", .name = "sst-mfld-platform",
.owner = THIS_MODULE,
}, },
.probe = sst_platform_probe, .probe = sst_platform_probe,
.remove = sst_platform_remove, .remove = sst_platform_remove,