提交 16573a98 编写于 作者: W Wolfram Sang

ALSA: atmel: 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>
上级 6851da1f
...@@ -588,7 +588,6 @@ static struct platform_driver atmel_abdac_driver = { ...@@ -588,7 +588,6 @@ static struct platform_driver atmel_abdac_driver = {
.remove = atmel_abdac_remove, .remove = atmel_abdac_remove,
.driver = { .driver = {
.name = "atmel_abdac", .name = "atmel_abdac",
.owner = THIS_MODULE,
.pm = ATMEL_ABDAC_PM_OPS, .pm = ATMEL_ABDAC_PM_OPS,
}, },
}; };
......
...@@ -1203,7 +1203,6 @@ static struct platform_driver atmel_ac97c_driver = { ...@@ -1203,7 +1203,6 @@ static struct platform_driver atmel_ac97c_driver = {
.remove = atmel_ac97c_remove, .remove = atmel_ac97c_remove,
.driver = { .driver = {
.name = "atmel_ac97c", .name = "atmel_ac97c",
.owner = THIS_MODULE,
.pm = ATMEL_AC97C_PM_OPS, .pm = ATMEL_AC97C_PM_OPS,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册