]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: at91sam9: replace devm_ioremap by devm_ioremap_resource
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 23 Sep 2014 11:14:09 +0000 (13:14 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 13 Nov 2014 15:07:59 +0000 (16:07 +0100)
commitd41da3ee1a9c46d175ca4cdca369f35c35f89cdc
tree504dccf40eb42aa114bdec932f93df90360a61eb
parent272f1dfa617ac2eb02a34f534d8d24a6b97eeb08
rtc: at91sam9: replace devm_ioremap by devm_ioremap_resource

Replace devm_ioremap calls by devm_ioremap_resource which already check
resource consistency (resource != NULL) and print an error in case of
failure.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Johan Hovold <johan@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/rtc/rtc-at91sam9.c