From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 02/12] pinctrl: Add core pinctrl support for Aspeed SoCs Date: Sat, 13 Aug 2016 10:58:14 +1000 Message-ID: <1471049894.12231.41.camel@kernel.crashing.org> References: <1468994313-13538-1-git-send-email-andrew@aj.id.au> <1468994313-13538-3-git-send-email-andrew@aj.id.au> <1470962022.27272.68.camel@aj.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Linus Walleij , Andrew Jeffery Cc: Mark Rutland , Alexandre Courbot , "devicetree@vger.kernel.org" , Russell King , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Rob Herring , Joel Stanley , "linux-arm-kernel@lists.infradead.org" , Jeremy Kerr List-Id: linux-gpio@vger.kernel.org On Fri, 2016-08-12 at 15:18 +0200, Linus Walleij wrote: > I would probably prefer that option (introduce another field) > but you should make the overall decision, it's no strong opinion > from my side. > > > Would it be acceptable to document that requirement? It might make it a bit less nasty (and easier to change later on if necessary) to use some kind of: bool ast_signal_is_gpio(...) And stick the strcmp in there. Cheers, Ben.