hwrng: omap3-rom - Remove obsoleted functions
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Sat, 20 Aug 2016 16:01:06 +0000 (21:31 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 24 Aug 2016 13:04:50 +0000 (21:04 +0800)
commit161040fc1c2a4a91765c18ec260589475cb791d9
tree88d2a3e8becbccef4d8da8d1b4ce06123fd59de0
parent1a45d7e343251e5396d353c1ae6ab1cebead9766
hwrng: omap3-rom - Remove obsoleted functions

Remove omap3_rom_rng_data_present method as it was returning 1 always.
Use .read callback instead of .data_read callback. This avoids use of
obsolete callbacks.

This patch is not tested with hardware as I don't have access to it.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap3-rom-rng.c