commit | f9cd46a4bb6ce8e9ca827afd2b294266251ef936 | [log] [tgz] |
---|---|---|
author | Yang Yingliang <yangyingliang@huawei.com> | Sat Jun 05 15:55:37 2021 +0800 |
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | Mon Jun 21 11:32:47 2021 +0200 |
tree | 70554ec8c5054ebed65099aa428e916406e6e840 | |
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>