mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
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 <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>