[PATCH] drm/bridge: anx7625: fix platform_no_drv_owner.cocci warnings

From: kbuild test robot
Date: Sat Sep 21 2019 - 10:35:05 EST


From: kbuild test robot <lkp@xxxxxxxxx>

drivers/gpu/drm/bridge/analogix/anx7625.c:2070: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: a6c1b1bd5c95 ("drm/bridge: anx7625: Add anx7625 MIPI to DP bridge driver")
CC: Xin Ji <xji@xxxxxxxxxxxxxxxx>
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---

url: https://github.com/0day-ci/linux/commits/Xin-Ji/Add-initial-support-for-slimport-anx7625/20190919-150647
:::::: branch date: 73 minutes ago
:::::: commit date: 73 minutes ago

anx7625.c | 1 -
1 file changed, 1 deletion(-)

--- a/drivers/gpu/drm/bridge/analogix/anx7625.c
+++ b/drivers/gpu/drm/bridge/analogix/anx7625.c
@@ -2067,7 +2067,6 @@ static const struct of_device_id anx_mat
static struct i2c_driver anx7625_driver = {
.driver = {
.name = "anx7625",
- .owner = THIS_MODULE,
#ifdef CONFIG_OF
.of_match_table = anx_match_table,
#endif