]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915/debugfs: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Mon, 19 Dec 2016 14:43:49 +0000 (22:43 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Dec 2016 09:59:42 +0000 (10:59 +0100)
commitf802cf7e0986d3767b23922c2fa585fdb1bd8abc
treec7134eb24a720f73c26e1547d57fe4c8f15e2198
parent5af7edc5859abf7b38e3158bf078db831ec28853
drm/i915/debugfs: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/62ce937ae9a341421942b4418515610d055fa653.1482158544.git.geliangtang@gmail.com
drivers/gpu/drm/i915/i915_debugfs.c