diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-08-21 13:05:39 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-10-30 18:40:36 +0100 |
commit | f1811a8a641329d0dada7c4db7e29ce5ae32a10b (patch) | |
tree | 78e51615f162c124659948aa99877313f6832993 /drivers/gpu/drm/bridge | |
parent | drm/bridge: ps8622: Fix coccinelle warnings (diff) | |
download | linux-f1811a8a641329d0dada7c4db7e29ce5ae32a10b.tar.xz linux-f1811a8a641329d0dada7c4db7e29ce5ae32a10b.zip |
drm/bridge: ptn3460: Fix coccinelle warnings
The platform_no_drv_owner.cocci coccinelle script generates the
following warning:
drivers/gpu/drm/bridge/nxp-ptn3460.c:403:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically. Patch
generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/bridge')
-rw-r--r-- | drivers/gpu/drm/bridge/nxp-ptn3460.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/nxp-ptn3460.c b/drivers/gpu/drm/bridge/nxp-ptn3460.c index 1b1bf2384815..0ffa3a6a206a 100644 --- a/drivers/gpu/drm/bridge/nxp-ptn3460.c +++ b/drivers/gpu/drm/bridge/nxp-ptn3460.c @@ -400,7 +400,6 @@ static struct i2c_driver ptn3460_driver = { .remove = ptn3460_remove, .driver = { .name = "nxp,ptn3460", - .owner = THIS_MODULE, .of_match_table = ptn3460_match, }, }; |