lkml.org 
[lkml]   [2019]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] drm/bridge: anx7625: fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <lkp@intel.com>

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@analogixsemi.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---

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
\
 
 \ /
  Last update: 2019-09-21 16:31    [W:0.022 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site