commit | 0dd89119614ba7afb6fe901a1760fa2e706cce86 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@gmail.com> | Fri Mar 24 22:10:49 2017 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 08 18:26:18 2017 +0200 |
tree | ca2e27934e479f469056b7e94d6100e6720ffce4 | |
parent | a2b60670aca207dae412f47a47e4aa5d8755aa61 [diff] |
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: Geliang Tang <geliangtang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>