Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d704f8e1 authored by Daniel Vetter's avatar Daniel Vetter
Browse files

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: default avatarDaniel Stone <daniels@collabora.com>
Reviewed-by: default avatarAlex 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: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 0b5ef656
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -188,9 +188,6 @@ static const struct file_operations armada_drm_fops = {


static struct drm_driver armada_drm_driver = {
static struct drm_driver armada_drm_driver = {
	.load			= armada_drm_load,
	.load			= armada_drm_load,
	.open			= NULL,
	.preclose		= NULL,
	.postclose		= NULL,
	.lastclose		= armada_drm_lastclose,
	.lastclose		= armada_drm_lastclose,
	.unload			= armada_drm_unload,
	.unload			= armada_drm_unload,
	.set_busid		= drm_platform_set_busid,
	.set_busid		= drm_platform_set_busid,