]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Remove drm_mode_object->atomic_count
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 29 Aug 2016 08:27:52 +0000 (10:27 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 29 Aug 2016 13:37:18 +0000 (15:37 +0200)
commit3abc318a549924ab7f30ceb8b3e333ec6e8b5178
treea1dcb754d2a2aa548d24fe4b22534e77d68e56fc
parent486c8f05579fa622e0918d5293f5287bb9baa7a1
drm: Remove drm_mode_object->atomic_count

It's only used in drm_mode_object_get_properties, and we can compute
it there directly with a bit of code shuffling.

Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160829082757.17913-4-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_mode_object.c
include/drm/drm_mode_object.h