提交 38b089d7 编写于 作者: W Wolfram Sang

ASoC: mxs: 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>
上级 b4c1456f
...@@ -815,7 +815,6 @@ static struct platform_driver mxs_saif_driver = { ...@@ -815,7 +815,6 @@ static struct platform_driver mxs_saif_driver = {
.driver = { .driver = {
.name = "mxs-saif", .name = "mxs-saif",
.owner = THIS_MODULE,
.of_match_table = mxs_saif_dt_ids, .of_match_table = mxs_saif_dt_ids,
}, },
}; };
......
...@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, mxs_sgtl5000_dt_ids); ...@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, mxs_sgtl5000_dt_ids);
static struct platform_driver mxs_sgtl5000_audio_driver = { static struct platform_driver mxs_sgtl5000_audio_driver = {
.driver = { .driver = {
.name = "mxs-sgtl5000", .name = "mxs-sgtl5000",
.owner = THIS_MODULE,
.of_match_table = mxs_sgtl5000_dt_ids, .of_match_table = mxs_sgtl5000_dt_ids,
}, },
.probe = mxs_sgtl5000_probe, .probe = mxs_sgtl5000_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册