Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753513Ab3C0Ic6 (ORCPT ); Wed, 27 Mar 2013 04:32:58 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:58141 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324Ab3C0Ic4 (ORCPT ); Wed, 27 Mar 2013 04:32:56 -0400 MIME-Version: 1.0 In-Reply-To: <1362388179-26841-1-git-send-email-sachin.kamat@linaro.org> References: <1362388179-26841-1-git-send-email-sachin.kamat@linaro.org> Date: Wed, 27 Mar 2013 09:32:55 +0100 Message-ID: Subject: Re: [PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource() From: Linus Walleij To: Sachin Kamat Cc: linux-kernel@vger.kernel.org, linux@prisktech.co.nz, grant.likely@secretlab.ca, thierry.reding@avionic-design.de Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 19 On Mon, Mar 4, 2013 at 10:09 AM, 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 Patch applied with Tony's and Thierry's ACKs/Reviewed-by. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/