hwrng: bcm63xx - use devm_* helpers
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 17 Feb 2015 02:09:16 +0000 (18:09 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 1 Mar 2015 10:02:26 +0000 (23:02 +1300)
commit0052a65413f006663e0d7fbfc886ea5bbd8f197f
tree56c854a7afc6487e1a40423cf2e14ea63f5c7aec
parentaeb9624f96581732b1ffd21af967375839ba227d
hwrng: bcm63xx - use devm_* helpers

Simplify the driver's probe function and error handling by using the
device managed allocators, while at it, drop the redundant "out of
memory" messages since these are already printed by the allocator.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/bcm63xx-rng.c