drm/rockchip: Cocci spatch "vma_pages"
authorThomas Meyer <thomas@m3y3r.de>
Wed, 20 Sep 2017 22:29:36 +0000 (00:29 +0200)
committerMark Yao <mark.yao@rock-chips.com>
Tue, 26 Sep 2017 06:32:36 +0000 (14:32 +0800)
commitf2a44dd02329707514af16fe0904a78604a97c0b
tree3ff9270030e2727a5b8048091381351f6dbc1bb9
parent3fbe2e184d2fbc353425efa7b788aba64374119b
drm/rockchip: Cocci spatch "vma_pages"

Use vma_pages function on vma object instead of explicit computation.
Found by coccinelle spatch "api/vma_pages.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1505946334393-988165015-7-diffsplit-thomas@m3y3r.de
drivers/gpu/drm/rockchip/rockchip_drm_gem.c