[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130304102446.GB15580@avionic-0098.mockup.avionic-design.de>
Date: Mon, 4 Mar 2013 11:24:46 +0100
From: Thierry Reding <thierry.reding@...onic-design.de>
To: Sachin Kamat <sachin.kamat@...aro.org>
Cc: linux-kernel@...r.kernel.org, linux@...sktech.co.nz,
grant.likely@...retlab.ca, linus.walleij@...aro.org
Subject: Re: [PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()
On Mon, Mar 04, 2013 at 02:39:39PM +0530, Sachin Kamat wrote:
> Use the newly introduced devm_ioremap_resource() instead of
> devm_request_and_ioremap() 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: Sachin Kamat <sachin.kamat@...aro.org>
> ---
> drivers/gpio/gpio-vt8500.c | 8 +++-----
> 1 files changed, 3 insertions(+), 5 deletions(-)
Reviewed-by: Thierry Reding <thierry.reding@...onic-design.de>
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists