提交 d34135b4 编写于 作者: W Wolfram Sang

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: NWolfram Sang <wsa@the-dreams.de>
上级 9a600224
...@@ -599,7 +599,6 @@ static int ams_delta_remove(struct platform_device *pdev) ...@@ -599,7 +599,6 @@ static int ams_delta_remove(struct platform_device *pdev)
static struct platform_driver ams_delta_driver = { static struct platform_driver ams_delta_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
.probe = ams_delta_probe, .probe = ams_delta_probe,
.remove = ams_delta_remove, .remove = ams_delta_remove,
......
...@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, omap_abe_of_match); ...@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, omap_abe_of_match);
static struct platform_driver omap_abe_driver = { static struct platform_driver omap_abe_driver = {
.driver = { .driver = {
.name = "omap-abe-twl6040", .name = "omap-abe-twl6040",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
.of_match_table = omap_abe_of_match, .of_match_table = omap_abe_of_match,
}, },
......
...@@ -509,7 +509,6 @@ MODULE_DEVICE_TABLE(of, omap_dmic_of_match); ...@@ -509,7 +509,6 @@ MODULE_DEVICE_TABLE(of, omap_dmic_of_match);
static struct platform_driver asoc_dmic_driver = { static struct platform_driver asoc_dmic_driver = {
.driver = { .driver = {
.name = "omap-dmic", .name = "omap-dmic",
.owner = THIS_MODULE,
.of_match_table = omap_dmic_of_match, .of_match_table = omap_dmic_of_match,
}, },
.probe = asoc_dmic_probe, .probe = asoc_dmic_probe,
......
...@@ -73,7 +73,6 @@ static int omap_hdmi_remove(struct platform_device *pdev) ...@@ -73,7 +73,6 @@ static int omap_hdmi_remove(struct platform_device *pdev)
static struct platform_driver omap_hdmi_driver = { static struct platform_driver omap_hdmi_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
.probe = omap_hdmi_probe, .probe = omap_hdmi_probe,
.remove = omap_hdmi_remove, .remove = omap_hdmi_remove,
......
...@@ -349,7 +349,6 @@ static int omap_hdmi_remove(struct platform_device *pdev) ...@@ -349,7 +349,6 @@ static int omap_hdmi_remove(struct platform_device *pdev)
static struct platform_driver hdmi_dai_driver = { static struct platform_driver hdmi_dai_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
.probe = omap_hdmi_probe, .probe = omap_hdmi_probe,
.remove = omap_hdmi_remove, .remove = omap_hdmi_remove,
......
...@@ -831,7 +831,6 @@ static int asoc_mcbsp_remove(struct platform_device *pdev) ...@@ -831,7 +831,6 @@ static int asoc_mcbsp_remove(struct platform_device *pdev)
static struct platform_driver asoc_mcbsp_driver = { static struct platform_driver asoc_mcbsp_driver = {
.driver = { .driver = {
.name = "omap-mcbsp", .name = "omap-mcbsp",
.owner = THIS_MODULE,
.of_match_table = omap_mcbsp_of_match, .of_match_table = omap_mcbsp_of_match,
}, },
......
...@@ -512,7 +512,6 @@ MODULE_DEVICE_TABLE(of, omap_mcpdm_of_match); ...@@ -512,7 +512,6 @@ MODULE_DEVICE_TABLE(of, omap_mcpdm_of_match);
static struct platform_driver asoc_mcpdm_driver = { static struct platform_driver asoc_mcpdm_driver = {
.driver = { .driver = {
.name = "omap-mcpdm", .name = "omap-mcpdm",
.owner = THIS_MODULE,
.of_match_table = omap_mcpdm_of_match, .of_match_table = omap_mcpdm_of_match,
}, },
......
...@@ -375,7 +375,6 @@ MODULE_DEVICE_TABLE(of, omap_twl4030_of_match); ...@@ -375,7 +375,6 @@ MODULE_DEVICE_TABLE(of, omap_twl4030_of_match);
static struct platform_driver omap_twl4030_driver = { static struct platform_driver omap_twl4030_driver = {
.driver = { .driver = {
.name = "omap-twl4030", .name = "omap-twl4030",
.owner = THIS_MODULE,
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
.of_match_table = omap_twl4030_of_match, .of_match_table = omap_twl4030_of_match,
}, },
......
...@@ -519,7 +519,6 @@ MODULE_DEVICE_TABLE(of, rx51_audio_of_match); ...@@ -519,7 +519,6 @@ MODULE_DEVICE_TABLE(of, rx51_audio_of_match);
static struct platform_driver rx51_soc_driver = { static struct platform_driver rx51_soc_driver = {
.driver = { .driver = {
.name = "rx51-audio", .name = "rx51-audio",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(rx51_audio_of_match), .of_match_table = of_match_ptr(rx51_audio_of_match),
}, },
.probe = rx51_soc_probe, .probe = rx51_soc_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册