[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YkbdDw8wt/AP+ktu@4f141e9bb993>
Date: Fri, 1 Apr 2022 19:07:59 +0800
From: kernel test robot <lkp@...el.com>
To: Marek Vasut <marex@...x.de>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Robert Foss <robert.foss@...aro.org>
Subject: [PATCH] drm: bridge: icn6211: fix platform_no_drv_owner.cocci
warnings
From: kernel test robot <lkp@...el.com>
drivers/gpu/drm/bridge/chipone-icn6211.c:645: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
Fixes: 8dde6f7452a1 ("drm: bridge: icn6211: Add I2C configuration support")
CC: Marek Vasut <marex@...x.de>
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: 3d7039e1e64980a5eb424373b3a5843b7d7891aa
commit: 8dde6f7452a198a870f74a38118bb1a63da7632e [28/38] drm: bridge: icn6211: Add I2C configuration support
:::::: branch date: 19 hours ago
:::::: commit date: 20 hours ago
drivers/gpu/drm/bridge/chipone-icn6211.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/gpu/drm/bridge/chipone-icn6211.c
+++ b/drivers/gpu/drm/bridge/chipone-icn6211.c
@@ -642,7 +642,6 @@ static struct i2c_driver chipone_i2c_dri
.id_table = chipone_i2c_id,
.driver = {
.name = "chipone-icn6211-i2c",
- .owner = THIS_MODULE,
.of_match_table = chipone_of_match,
},
};
Powered by blists - more mailing lists