commit | 3ec7a176fa81107c20f1693c64873c11a6cd8fa4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jan 08 13:52:12 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 12 15:40:18 2015 -0500 |
tree | 7d469bb3062ecbc25e598acf9d030527a22686a2 | |
parent | 78890ed7549444fa9b9ff7e544d6bdd44b4c9566 [diff] |
net: eth: xgene: devm_ioremap() returns NULL on error devm_ioremap() returns NULL on failure, it doesn't return an ERR_PTR. Fixes: de7b5b3d790a ('net: eth: xgene: change APM X-Gene SoC platform ethernet to support ACPI') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Iyappan Subramanian <isubramanian@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>