arm64: Use the generic devmem_is_allowed()

I recently copied this into lib/ for use by the RISC-V port.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Palmer Dabbelt 2020-07-09 12:05:36 -07:00
commit 6585bd8274
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
3 changed files with 1 additions and 24 deletions