drivers: dma-coherent: use vma_pages().
authorMuhammad Falak R Wani <falakreyaz@gmail.com>
Sat, 21 May 2016 13:22:57 +0000 (18:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:13:56 +0000 (15:13 +0200)
commite688f144305c678fb65138d9e6b6ce436e59778b
treef0cc14503ae14f18d8eebba48a97c3f0e599f0c9
parent03aca7b260ea2aadf92596d2f57160e4aee8ffb0
drivers: dma-coherent: 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-coherent.c