diff options
author | PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> | 2016-09-04 23:43:08 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-07 21:09:35 +0800 |
commit | da28caaaf878b224c3ca89c1eb7373536cc5d556 (patch) | |
tree | 393eb650cd7110f3b488d1c7ecc0afce8544bc0b /drivers/vhost | |
parent | b4587456fea4e2e3021341c4932bd89674c14824 (diff) | |
download | linux-da28caaaf878b224c3ca89c1eb7373536cc5d556.tar.gz linux-da28caaaf878b224c3ca89c1eb7373536cc5d556.tar.bz2 linux-da28caaaf878b224c3ca89c1eb7373536cc5d556.zip |
hwrng: pasemi - Migrate to managed API
Use devm_ioremap and devm_hwrng_register instead of ioremap and
hwrng_register. This removes unregistering and error handling code.
Changes in v2:
Remove hardcoded resource size in ioremap, use resource struct obtained
by calling platform_get_resource.
Removing hardcoded resource size was suggested by LABBE Corentin.
CC: Darren Stevens <darren@stevens-zone.net>
Suggested-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions