diff options
author | PrasannaKumar Muralidharan <[email protected]> | 2016-09-04 23:43:08 +0530 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2016-09-07 21:09:35 +0800 |
commit | da28caaaf878b224c3ca89c1eb7373536cc5d556 (patch) | |
tree | 393eb650cd7110f3b488d1c7ecc0afce8544bc0b /tools/perf/scripts/python/syscall-counts.py | |
parent | b4587456fea4e2e3021341c4932bd89674c14824 (diff) |
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 <[email protected]>
Suggested-by: LABBE Corentin <[email protected]>
Signed-off-by: PrasannaKumar Muralidharan <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions