OSDN Git Service

drm/i915/breadcrumbs: s/container_of/rb_entry/
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Dec 2016 10:40:03 +0000 (10:40 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Dec 2016 12:30:25 +0000 (12:30 +0000)
commitd8567862dc049df67fbbf081a9c27aee8031f6c8
tree9a018a823019f9a2361eb3995f690b42c768c85d
parentf802cf7e0986d3767b23922c2fa585fdb1bd8abc
drm/i915/breadcrumbs: s/container_of/rb_entry/

In keeping with commit f802cf7e0986 ("drm/i915/debugfs: use
rb_entry()"), convert the primary user of the rbtrees over to using
rb_entry rather than the equivalent container_of.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20161220104003.8044-1-chris@chris-wilson.co.uk
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_breadcrumbs.c