hwrng: bcm2835 - handle of_iomap failures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 29 Aug 2016 17:10:16 +0000 (22:40 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 7 Sep 2016 13:08:24 +0000 (21:08 +0800)
commitda59c51cf2201b6b242bdea320fcfe7b8d331900
treeaa84ac751e9ec501c5b6aa3f7facd4e80e14b5ee
parent10faa8c0d6c3b22466f97713a9533824a2ea1c57
hwrng: bcm2835 - handle of_iomap failures

Check return value of of_iomap and handle errors correctly.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/bcm2835-rng.c