drm/mm: rewrite drm_mm_for_each_hole
authorGeliang Tang <geliangtang@163.com>
Sat, 21 Nov 2015 14:04:04 +0000 (22:04 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Nov 2015 10:47:48 +0000 (11:47 +0100)
commit18b40c58a184e99f01f3efa9c86d89e1a537e42e
tree2b3f872804ca17bce0fc8bc479b32f406bdfc5ac
parenta48a62bc9226e731e2284afb1c782869a413e1b2
drm/mm: rewrite drm_mm_for_each_hole

When backwards is 0, __drm_mm_for_each_hole is same as
drm_mm_for_each_hole. So I rewrite drm_mm_for_each_hole
by using __drm_mm_for_each_hole.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drm_mm.h