hwrng: amd - Convert to new hwrng read() API
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Fri, 26 Aug 2016 11:11:36 +0000 (13:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 31 Aug 2016 15:00:47 +0000 (23:00 +0800)
commit85962d2248fae84ffaa04f09826596d20af56819
tree6bc4f8c63a5a1680fe7db850a20ae9a7fea4d79f
parent3c343a37644c5fe07960c3226a463d98627607f0
hwrng: amd - Convert to new hwrng read() API

This patch convert the hwrng interface used by amd768-rng to its new API
by replacing data_read()/data_present() by read().

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