Skip to content
Commit 0dd89119 authored by Geliang Tang's avatar Geliang Tang Committed by Greg Kroah-Hartman
Browse files

drivers: base: dma-mapping: use nth_page helper



Use nth_page() helper instead of page_to_pfn() and pfn_to_page() to
simplify the code.

Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a2b60670
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment