diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-01-11 22:41:01 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-01-25 19:35:05 +0100 |
commit | d704f8e1a649a6dc1cca693846df96e54d80744f (patch) | |
tree | 266addb8f1e707a2240f10de4a435688e7e416d7 /drivers/gpu/drm/armada/armada_drv.c | |
parent | 0b5ef656f764e6cc1fe1e0aaf080a19560f2f76a (diff) | |
download | linux-d704f8e1a649a6dc1cca693846df96e54d80744f.tar.gz linux-d704f8e1a649a6dc1cca693846df96e54d80744f.tar.bz2 linux-d704f8e1a649a6dc1cca693846df96e54d80744f.zip |
drm/armada: Remove NULL open/pre/postclose hooks
The compiler will do this, but the void hits when grepping all the
hooks for a subsystem wide audit are slightly annoying. So remove them
for next time around.
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452548477-15905-8-git-send-email-daniel.vetter@ffwll.ch
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_drv.c')
-rw-r--r-- | drivers/gpu/drm/armada/armada_drv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index 3bd7e1cde99e..82043c204b76 100644 --- a/drivers/gpu/drm/armada/armada_drv.c +++ b/drivers/gpu/drm/armada/armada_drv.c @@ -188,9 +188,6 @@ static const struct file_operations armada_drm_fops = { static struct drm_driver armada_drm_driver = { .load = armada_drm_load, - .open = NULL, - .preclose = NULL, - .postclose = NULL, .lastclose = armada_drm_lastclose, .unload = armada_drm_unload, .set_busid = drm_platform_set_busid, |