s390/diag: use pfn_to_phys() instead of open coding
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 7 Dec 2021 18:19:48 +0000 (19:19 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 10 Dec 2021 15:14:25 +0000 (16:14 +0100)
commit9d6305c2a116f4ea3160730df8cf83d13d629b87
tree687ca1d9e31dfbb8d25a62c8d5a2c063b4eda677
parentd2f2949ab6b60fc53134908d0ffc140ef50e5a1b
s390/diag: use pfn_to_phys() instead of open coding

Use pfn_to_phys() instead of open coding to make it
clear what the code is doing.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/diag.h