Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758424Ab2JSKBg (ORCPT ); Fri, 19 Oct 2012 06:01:36 -0400 Received: from eu1sys200aog103.obsmtp.com ([207.126.144.115]:41908 "EHLO eu1sys200aog103.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758407Ab2JSKBe (ORCPT ); Fri, 19 Oct 2012 06:01:34 -0400 Date: Fri, 19 Oct 2012 15:31:23 +0530 From: Shiraz Hashim To: viresh kumar Cc: , , , Subject: Re: [PATCH] pwm: add spear pwm driver support Message-ID: <20121019100123.GD4185@localhost.localdomain> References: <1350559712-8514-1-git-send-email-shiraz.hashim@st.com> <20121019055943.GA4185@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20121019055943.GA4185@localhost.localdomain> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 785 Lines: 24 On Fri, Oct 19, 2012 at 11:29:43AM +0530, Shiraz HASHIM wrote: > On Thu, Oct 18, 2012 at 11:11:06PM +0530, viresh kumar wrote: > > On Thu, Oct 18, 2012 at 4:58 PM, Shiraz Hashim wrote: > > > + pc->mmio_base = devm_request_and_ioremap(&pdev->dev, r); > > > + if (!pc->mmio_base) > > > + return -EADDRNOTAVAIL; > > > > Just check, i believe there is a routine which will do above two in a single > > call.. > > > > I would cross check. > Couldn't find a suitable call. -- regards Shiraz -- 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/