diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-03-03 17:04:27 +0800 |
---|---|---|
committer | Jyri Sarha <jyri.sarha@iki.fi> | 2021-03-24 12:05:28 +0200 |
commit | da588d48004a39cdaaa5f778ffc0debae0548541 (patch) | |
tree | 758e52179ae65c5bc336932461594d64ae1a813c /drivers/gpu/drm | |
parent | 2818c20871e6b9cec806ba546faf90ae3a079e22 (diff) |
drm/tilcdc: panel: fix platform_no_drv_owner.cocci warnings
./drivers/gpu/drm/tilcdc/tilcdc_panel.c:402:3-8: No need to set .owner
here. The core will do it.
Remove .owner field if calls are used which set it automatically
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Jyri Sarha <jyri.sarha@iki.fi>
Link: https://patchwork.freedesktop.org/patch/msgid/1614762267-98454-1-git-send-email-yang.lee@linux.alibaba.com
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c b/drivers/gpu/drm/tilcdc/tilcdc_panel.c index 00efc30b47d8..42357808eaf2 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_panel.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_panel.c @@ -399,7 +399,6 @@ static struct platform_driver panel_driver = { .probe = panel_probe, .remove = panel_remove, .driver = { - .owner = THIS_MODULE, .name = "tilcdc-panel", .of_match_table = panel_of_match, }, |