diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2015-10-23 08:39:45 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-11-17 23:26:35 +0300 |
commit | e2ab3218f46bce3380189ba4ac2a8cbdb2ae6272 (patch) | |
tree | 76801158f457591dbaa94336a24ff7d8d3053fac /drivers/gpu | |
parent | 91276ae2ea7d588cb70ed54fb0b00b732aa7ea04 (diff) | |
download | linux-e2ab3218f46bce3380189ba4ac2a8cbdb2ae6272.tar.xz |
drm/vc4: fix platform_no_drv_owner.cocci warnings
drivers/gpu/drm/vc4/vc4_drv.c:248: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
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index 6e730605edcc..d5db9e0f3b73 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.c +++ b/drivers/gpu/drm/vc4/vc4_drv.c @@ -259,7 +259,6 @@ static struct platform_driver vc4_platform_driver = { .remove = vc4_platform_drm_remove, .driver = { .name = "vc4-drm", - .owner = THIS_MODULE, .of_match_table = vc4_of_match, }, }; |