ASoC: fsl: 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:08 +02:00
parent 27cbfa122a
commit 8cb636b1a1
19 changed files with 0 additions and 19 deletions

View File

@ -239,7 +239,6 @@ MODULE_DEVICE_TABLE(of, imx_tlv320_dt_ids);
static struct platform_driver eukrea_tlv320_driver = { static struct platform_driver eukrea_tlv320_driver = {
.driver = { .driver = {
.name = "eukrea_tlv320", .name = "eukrea_tlv320",
.owner = THIS_MODULE,
.of_match_table = imx_tlv320_dt_ids, .of_match_table = imx_tlv320_dt_ids,
}, },
.probe = eukrea_tlv320_probe, .probe = eukrea_tlv320_probe,

View File

@ -971,7 +971,6 @@ MODULE_DEVICE_TABLE(of, fsl_soc_dma_ids);
static struct platform_driver fsl_soc_dma_driver = { static struct platform_driver fsl_soc_dma_driver = {
.driver = { .driver = {
.name = "fsl-pcm-audio", .name = "fsl-pcm-audio",
.owner = THIS_MODULE,
.of_match_table = fsl_soc_dma_ids, .of_match_table = fsl_soc_dma_ids,
}, },
.probe = fsl_soc_dma_probe, .probe = fsl_soc_dma_probe,

View File

@ -855,7 +855,6 @@ static struct platform_driver fsl_esai_driver = {
.probe = fsl_esai_probe, .probe = fsl_esai_probe,
.driver = { .driver = {
.name = "fsl-esai-dai", .name = "fsl-esai-dai",
.owner = THIS_MODULE,
.of_match_table = fsl_esai_dt_ids, .of_match_table = fsl_esai_dt_ids,
}, },
}; };

View File

@ -678,7 +678,6 @@ static struct platform_driver fsl_sai_driver = {
.probe = fsl_sai_probe, .probe = fsl_sai_probe,
.driver = { .driver = {
.name = "fsl-sai", .name = "fsl-sai",
.owner = THIS_MODULE,
.of_match_table = fsl_sai_ids, .of_match_table = fsl_sai_ids,
}, },
}; };

View File

@ -1283,7 +1283,6 @@ MODULE_DEVICE_TABLE(of, fsl_spdif_dt_ids);
static struct platform_driver fsl_spdif_driver = { static struct platform_driver fsl_spdif_driver = {
.driver = { .driver = {
.name = "fsl-spdif-dai", .name = "fsl-spdif-dai",
.owner = THIS_MODULE,
.of_match_table = fsl_spdif_dt_ids, .of_match_table = fsl_spdif_dt_ids,
}, },
.probe = fsl_spdif_probe, .probe = fsl_spdif_probe,

View File

@ -1489,7 +1489,6 @@ static int fsl_ssi_remove(struct platform_device *pdev)
static struct platform_driver fsl_ssi_driver = { static struct platform_driver fsl_ssi_driver = {
.driver = { .driver = {
.name = "fsl-ssi-dai", .name = "fsl-ssi-dai",
.owner = THIS_MODULE,
.of_match_table = fsl_ssi_ids, .of_match_table = fsl_ssi_ids,
}, },
.probe = fsl_ssi_probe, .probe = fsl_ssi_probe,

View File

@ -356,7 +356,6 @@ static struct platform_driver imx_audmux_driver = {
.id_table = imx_audmux_ids, .id_table = imx_audmux_ids,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
.of_match_table = imx_audmux_dt_ids, .of_match_table = imx_audmux_dt_ids,
} }
}; };

View File

@ -159,7 +159,6 @@ static int imx_mc13783_remove(struct platform_device *pdev)
static struct platform_driver imx_mc13783_audio_driver = { static struct platform_driver imx_mc13783_audio_driver = {
.driver = { .driver = {
.name = "imx_mc13783", .name = "imx_mc13783",
.owner = THIS_MODULE,
}, },
.probe = imx_mc13783_probe, .probe = imx_mc13783_probe,
.remove = imx_mc13783_remove .remove = imx_mc13783_remove

View File

@ -202,7 +202,6 @@ MODULE_DEVICE_TABLE(of, imx_sgtl5000_dt_ids);
static struct platform_driver imx_sgtl5000_driver = { static struct platform_driver imx_sgtl5000_driver = {
.driver = { .driver = {
.name = "imx-sgtl5000", .name = "imx-sgtl5000",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
.of_match_table = imx_sgtl5000_dt_ids, .of_match_table = imx_sgtl5000_dt_ids,
}, },

View File

@ -89,7 +89,6 @@ MODULE_DEVICE_TABLE(of, imx_spdif_dt_ids);
static struct platform_driver imx_spdif_driver = { static struct platform_driver imx_spdif_driver = {
.driver = { .driver = {
.name = "imx-spdif", .name = "imx-spdif",
.owner = THIS_MODULE,
.of_match_table = imx_spdif_dt_ids, .of_match_table = imx_spdif_dt_ids,
}, },
.probe = imx_spdif_audio_probe, .probe = imx_spdif_audio_probe,

View File

@ -647,7 +647,6 @@ static struct platform_driver imx_ssi_driver = {
.driver = { .driver = {
.name = "imx-ssi", .name = "imx-ssi",
.owner = THIS_MODULE,
}, },
}; };

View File

@ -309,7 +309,6 @@ MODULE_DEVICE_TABLE(of, imx_wm8962_dt_ids);
static struct platform_driver imx_wm8962_driver = { static struct platform_driver imx_wm8962_driver = {
.driver = { .driver = {
.name = "imx-wm8962", .name = "imx-wm8962",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
.of_match_table = imx_wm8962_dt_ids, .of_match_table = imx_wm8962_dt_ids,
}, },

View File

@ -340,7 +340,6 @@ static struct platform_driver psc_ac97_driver = {
.remove = psc_ac97_of_remove, .remove = psc_ac97_of_remove,
.driver = { .driver = {
.name = "mpc5200-psc-ac97", .name = "mpc5200-psc-ac97",
.owner = THIS_MODULE,
.of_match_table = psc_ac97_match, .of_match_table = psc_ac97_match,
}, },
}; };

View File

@ -229,7 +229,6 @@ static struct platform_driver psc_i2s_driver = {
.remove = psc_i2s_of_remove, .remove = psc_i2s_of_remove,
.driver = { .driver = {
.name = "mpc5200-psc-i2s", .name = "mpc5200-psc-i2s",
.owner = THIS_MODULE,
.of_match_table = psc_i2s_match, .of_match_table = psc_i2s_match,
}, },
}; };

View File

@ -389,7 +389,6 @@ static struct platform_driver mpc8610_hpcd_driver = {
* in lowercase letters. * in lowercase letters.
*/ */
.name = "snd-soc-mpc8610hpcd", .name = "snd-soc-mpc8610hpcd",
.owner = THIS_MODULE,
}, },
}; };

View File

@ -229,7 +229,6 @@ static int mx27vis_aic32x4_remove(struct platform_device *pdev)
static struct platform_driver mx27vis_aic32x4_audio_driver = { static struct platform_driver mx27vis_aic32x4_audio_driver = {
.driver = { .driver = {
.name = "mx27vis", .name = "mx27vis",
.owner = THIS_MODULE,
}, },
.probe = mx27vis_aic32x4_probe, .probe = mx27vis_aic32x4_probe,
.remove = mx27vis_aic32x4_remove, .remove = mx27vis_aic32x4_remove,

View File

@ -398,7 +398,6 @@ static struct platform_driver p1022_ds_driver = {
* in lowercase letters. * in lowercase letters.
*/ */
.name = "snd-soc-p1022ds", .name = "snd-soc-p1022ds",
.owner = THIS_MODULE,
}, },
}; };

View File

@ -348,7 +348,6 @@ static struct platform_driver p1022_rdk_driver = {
* in lowercase letters. * in lowercase letters.
*/ */
.name = "snd-soc-p1022rdk", .name = "snd-soc-p1022rdk",
.owner = THIS_MODULE,
}, },
}; };

View File

@ -124,7 +124,6 @@ static struct platform_driver pcm030_fabric_driver = {
.remove = pcm030_fabric_remove, .remove = pcm030_fabric_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = pcm030_audio_match, .of_match_table = pcm030_audio_match,
}, },
}; };