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

media: rc: 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>
上级 b2e38539
...@@ -240,7 +240,6 @@ static struct platform_driver gpio_ir_recv_driver = { ...@@ -240,7 +240,6 @@ static struct platform_driver gpio_ir_recv_driver = {
.remove = gpio_ir_recv_remove, .remove = gpio_ir_recv_remove,
.driver = { .driver = {
.name = GPIO_IR_DRIVER_NAME, .name = GPIO_IR_DRIVER_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(gpio_ir_recv_of_match), .of_match_table = of_match_ptr(gpio_ir_recv_of_match),
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &gpio_ir_recv_pm_ops, .pm = &gpio_ir_recv_pm_ops,
......
...@@ -306,7 +306,6 @@ static struct platform_driver sunxi_ir_driver = { ...@@ -306,7 +306,6 @@ static struct platform_driver sunxi_ir_driver = {
.remove = sunxi_ir_remove, .remove = sunxi_ir_remove,
.driver = { .driver = {
.name = SUNXI_IR_DEV, .name = SUNXI_IR_DEV,
.owner = THIS_MODULE,
.of_match_table = sunxi_ir_match, .of_match_table = sunxi_ir_match,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册