hwrng: amd - Access hardware via ioread32/iowrite32
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Fri, 26 Aug 2016 11:11:35 +0000 (13:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 31 Aug 2016 15:00:46 +0000 (23:00 +0800)
commit3c343a37644c5fe07960c3226a463d98627607f0
tree7b7d01b99031bf666a4e7c5be7eae2ef9df2bea6
parent7bad2cc062b343575f19d5de6be3f297a1429f37
hwrng: amd - Access hardware via ioread32/iowrite32

Instead of accessing hw directly via pmbase, it's better to
access after ioport_map() via ioread32/iowrite32.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/amd-rng.c