commit | dbeb4bd8bae584408ce7e09b29510e2b5cb85bbb | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Thu Oct 06 13:29:02 2016 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Oct 11 19:54:23 2016 -0500 |
tree | f29ee967df99ef2d39ac82d90a71aecf2be6df78 | |
parent | ee34264eec4838e336e0af756e6ec84d5159ee41 [diff] |
PCI: altera: Remove redundant platform_get_resource() return value check devm_ioremap_resource() fails gracefully when given a NULL resource pointer, so we don't need to check separately for failure from platform_get_resource_byname(). Remove the redundant check. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>