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)
commitf094d881954982b559e98e90aca1bf6f45141420
treea1dcb754d2a2aa548d24fe4b22534e77d68e56fc
parent949619f32eee37a6385de1e976523501c8256768
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