Skip to content

Commit

Permalink
drm/bridge: fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
drivers/gpu/drm/bridge/sil-sii8620.c:1556: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: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20161026165836.GA98766@lkp-sb04.lkp.intel.com
  • Loading branch information
kbuild test robot authored and Archit Taneja committed Oct 27, 2016
1 parent 3a81e96 commit 56df51d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/bridge/sil-sii8620.c
Original file line number Diff line number Diff line change
Expand Up @@ -1553,7 +1553,6 @@ MODULE_DEVICE_TABLE(i2c, sii8620_id);
static struct i2c_driver sii8620_driver = {
.driver = {
.name = "sii8620",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(sii8620_dt_match),
},
.probe = sii8620_probe,
Expand Down

0 comments on commit 56df51d

Please sign in to comment.