提交 3bb2ccd0 编写于 作者: K Krzysztof Kozlowski 提交者: Greg Kroah-Hartman

tty: serial: Drop owner assignment from platform_driver

platform_driver does not need to set an owner because
platform_driver_register() will set it.
Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5f258b3e
...@@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(of, of_match); ...@@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(of, of_match);
static struct platform_driver ingenic_uart_platform_driver = { static struct platform_driver ingenic_uart_platform_driver = {
.driver = { .driver = {
.name = "ingenic-uart", .name = "ingenic-uart",
.owner = THIS_MODULE,
.of_match_table = of_match, .of_match_table = of_match,
}, },
.probe = ingenic_uart_probe, .probe = ingenic_uart_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册