Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e3dc17a5 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: layerscape: Simplify platform_get_resource_byname() failure checking



devm_ioremap_resource() validates the resource it receives, so if we check
for devm_ioremap_resource() failure, we need not check for failure of the
preceding platform_get_resource().

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent c517d838
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment