]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
memory: Convert to devm_ioremap_resource()
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 21 Jan 2013 10:09:08 +0000 (11:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2013 19:41:56 +0000 (11:41 -0800)
commit06303c2e00701724acb95069ca46f87c998c4be1
tree62f3c4a6ba59355eb29a9f5b5a67dc12c85d1751
parent8d1cbc98838b252af68204780bb0bfac4fe850ec
memory: Convert to devm_ioremap_resource()

Convert all uses of devm_request_and_ioremap() to the newly introduced
devm_ioremap_resource() which provides more consistent error handling.

devm_ioremap_resource() provides its own error messages so all explicit
error messages can be removed from the failure code paths.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/memory/emif.c
drivers/memory/tegra20-mc.c
drivers/memory/tegra30-mc.c