summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_legacy.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-04-26 19:29:35 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-04-27 08:42:26 +0200
commit68dfbebab131146b460550cebf8c38667c490a04 (patch)
tree3da20430ec621e62c33e8181bf7683c1aff66ddb /drivers/gpu/drm/drm_legacy.h
parent366884b17fae7d2a7517eea60e64d6d6754fa9db (diff)
drm: Put legacy lastclose work into drm_legacy_dev_reinit
Except for the ->lasclose driver callback evrything in drm_lastclose() is all legacy cruft and can be hidden. Which means another dev->struct_mutex site disappears entirely for modern drivers! Also while at it change the return value of drm_lastclose to void since it will always succeed. No one checks the return value of close() anyway, ever. v2: Move misplaced hunk, spotted by 0day. Cc: Thierry Reding <thierry.reding@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-3-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_legacy.h')
0 files changed, 0 insertions, 0 deletions