dma-mapping: use vma_pages().
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Sat, 21 May 2016 13:22:22 +0000 (18:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:13:56 +0000 (15:13 +0200)
commit95da00e35acf92bb5d39f6f08267de0c1a5c8885
tree32d7a3671623c2dda55f17febfcf1fdb2630955f
parente688f144305c678fb65138d9e6b6ce436e59778b
dma-mapping: use vma_pages().

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

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dma-mapping.c