gpu: drm: gma500: Use vma_pages()
authorShyam Saini <mayhs11saini@gmail.com>
Sun, 9 Oct 2016 23:07:16 +0000 (04:37 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Oct 2016 05:56:14 +0000 (07:56 +0200)
commit024b6a63138c1e6988927f9a90b6b43b8d4fe6f5
treeec92614ae68fb6d99e9365d4b08587ff8c9e646d
parentb68d8379c28ddfe74b78be9414082f281332d86c
gpu: drm: gma500: Use vma_pages()

Replace explicit computation of vma page count by a call to
vma_pages()

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1476054436-9378-1-git-send-email-mayhs11saini@gmail.com
drivers/gpu/drm/gma500/framebuffer.c