Skip to content
Commit f9cd46a4 authored by Yang Yingliang's avatar Yang Yingliang Committed by Thomas Bogendoerfer
Browse files

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: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent ed914d48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment