drm/nouveau/dma: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Tue, 20 Dec 2016 14:02:11 +0000 (22:02 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:55 +0000 (15:14 +1000)
commit05073caeedd1ea6bfc5b1ebd051f2a6694e4b26b
tree619b4c1fbed670146e01887b35eee3a509998576
parentaf7db03e1bd562105dc6460674a05f5463e333e0
drm/nouveau/dma: 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: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c