]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Convert to devm_ioremap_resource()
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 21 Jan 2013 09:08:56 +0000 (09:08 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Feb 2013 09:00:23 +0000 (10:00 +0100)
commitf8463d5036c58c3fa9a2e3e471f2e4c8c2f46b01
treee9cd3de02e552a1c065eff74769553954818322e
parent0f3a05cb43e731b8cf861dee30e7e4bddd6c5ccc
MIPS: 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>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Patchwork: https://patchwork.linux-mips.org/patch/4820/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/xway/dma.c
arch/mips/lantiq/xway/gptu.c
arch/mips/pci/pci-lantiq.c