diff options
author | Yang Yingliang | 2021-06-05 15:55:37 +0800 |
---|---|---|
committer | Thomas Bogendoerfer | 2021-06-21 11:32:47 +0200 |
commit | f9cd46a4bb6ce8e9ca827afd2b294266251ef936 (patch) | |
tree | 70554ec8c5054ebed65099aa428e916406e6e840 /arch/mips/kvm | |
parent | ed914d48b6a1040d1039d371b56273d422c0081e (diff) |
MIPS: OCTEON: octeon-usb: Use devm_platform_get_and_ioremap_resource()
Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().
And use devm_platform_get_and_ioremap_resource() to simplify
code.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/kvm')
0 files changed, 0 insertions, 0 deletions