提交 6db249db 编写于 作者: K kbuild test robot 提交者: Thierry Reding

pwm: mediatek: Don't explicitly set .owner

drivers/pwm/pwm-mediatek.c:210:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: John Crispin <john@phrozen.org>
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
上级 6db78b20
...@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, mtk_pwm_of_match); ...@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, mtk_pwm_of_match);
static struct platform_driver mtk_pwm_driver = { static struct platform_driver mtk_pwm_driver = {
.driver = { .driver = {
.name = "mtk-pwm", .name = "mtk-pwm",
.owner = THIS_MODULE,
.of_match_table = mtk_pwm_of_match, .of_match_table = mtk_pwm_of_match,
}, },
.probe = mtk_pwm_probe, .probe = mtk_pwm_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册