Re: [PATCH 24/33] rtc: Convert to devm_ioremap_resource()

2013-01-21 Thread Viresh Kumar
On Mon, Jan 21, 2013 at 3:39 PM, Thierry Reding wrote: > diff --git a/drivers/rtc/rtc-spear.c b/drivers/rtc/rtc-spear.c > index c2121b5..a18c319 100644 > --- a/drivers/rtc/rtc-spear.c > +++ b/drivers/rtc/rtc-spear.c > @@ -385,11 +385,9 @@ static int spear_rtc_probe(struct platform_device *pdev) >

[PATCH 24/33] rtc: Convert to devm_ioremap_resource()

2013-01-21 Thread Thierry Reding
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 R