hwrng: amd - Migrate to managed API
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Fri, 9 Sep 2016 07:58:23 +0000 (13:28 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 Sep 2016 12:27:23 +0000 (20:27 +0800)
commit31b2a73c9c5f1f02c896c4e434957b831dd50a7f
treec6eb32495d00d203be1a11fbc48f4c021cf50b5d
parent58b022acac8dd435dad0b162ad92cbe8ec90a703
hwrng: amd - Migrate to managed API

Managed API eliminates error handling code, thus reduces several lines
of code.

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