Re: [PATCH v5 3/9] rtc: at91sam9: replace devm_ioremap by devm_ioremap_resource

2014-09-22 Thread Alexandre Belloni
On 22/09/2014 at 11:10:52 +0200, Boris Brezillon wrote : > 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 Acked-by: Alexandre Belloni > --- > drivers/

[PATCH v5 3/9] rtc: at91sam9: replace devm_ioremap by devm_ioremap_resource

2014-09-22 Thread Boris BREZILLON
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 --- drivers/rtc/rtc-at91sam9.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(