提交 0716b0ff 编写于 作者: W Wolfram Sang 提交者: Zhang Rui

thermal: int340x_thermal: drop owner assignment from platform_drivers

This 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>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 7b094063
...@@ -335,7 +335,6 @@ static struct platform_driver int3400_thermal_driver = { ...@@ -335,7 +335,6 @@ static struct platform_driver int3400_thermal_driver = {
.remove = int3400_thermal_remove, .remove = int3400_thermal_remove,
.driver = { .driver = {
.name = "int3400 thermal", .name = "int3400 thermal",
.owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(int3400_thermal_match), .acpi_match_table = ACPI_PTR(int3400_thermal_match),
}, },
}; };
......
...@@ -231,7 +231,6 @@ static struct platform_driver int3402_thermal_driver = { ...@@ -231,7 +231,6 @@ static struct platform_driver int3402_thermal_driver = {
.remove = int3402_thermal_remove, .remove = int3402_thermal_remove,
.driver = { .driver = {
.name = "int3402 thermal", .name = "int3402 thermal",
.owner = THIS_MODULE,
.acpi_match_table = int3402_thermal_match, .acpi_match_table = int3402_thermal_match,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册