summaryrefslogtreecommitdiff
path: root/arch/mips/netlogic
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-06-05 15:55:37 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-06-21 11:32:47 +0200
commitf9cd46a4bb6ce8e9ca827afd2b294266251ef936 (patch)
tree70554ec8c5054ebed65099aa428e916406e6e840 /arch/mips/netlogic
parented914d48b6a1040d1039d371b56273d422c0081e (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/netlogic')
0 files changed, 0 insertions, 0 deletions