Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757424Ab3DDKFn (ORCPT ); Thu, 4 Apr 2013 06:05:43 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:37911 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752069Ab3DDKFm (ORCPT ); Thu, 4 Apr 2013 06:05:42 -0400 Message-ID: <515D5073.7070207@ti.com> Date: Thu, 4 Apr 2013 13:05:39 +0300 From: Roger Quadros User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Sachin Kamat CC: , Subject: Re: [PATCH 1/2] mfd: omap-usb-host: Convert to devm_ioremap_resource() References: <1365068715-15868-1-git-send-email-sachin.kamat@linaro.org> In-Reply-To: <1365068715-15868-1-git-send-email-sachin.kamat@linaro.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 702 Lines: 16 On 04/04/2013 12:45 PM, 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 > Cc: Roger Quadros Acked-by: Roger Quadros -- 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/