diff mbox

drm/bridge: fix platform_no_drv_owner.cocci warnings

Message ID 20161026165836.GA98766@lkp-sb04.lkp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Oct. 26, 2016, 4:58 p.m. UTC
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>
---

 sil-sii8620.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

--- a/drivers/gpu/drm/bridge/sil-sii8620.c
+++ b/drivers/gpu/drm/bridge/sil-sii8620.c
@@ -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,