From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw01.freescale.net (az33egw01.freescale.net [192.88.158.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id A1C82DDEEA for ; Sat, 26 Jul 2008 18:29:00 +1000 (EST) Date: Sat, 26 Jul 2008 01:26:01 -0700 (PDT) From: Trent Piepho To: Anton Vorontsov Subject: Re: [RFC PATCH] of_gpio: implement of_get_gpio_flags() In-Reply-To: <20080725164815.GA23228@polina.dev.rtsoft.ru> Message-ID: References: <20080717234201.GA15745@polina.dev.rtsoft.ru> <20080718100549.GA28741@polina.dev.rtsoft.ru> <20080721175357.GA1773@polina.dev.rtsoft.ru> <20080723145650.GA13792@polina.dev.rtsoft.ru> <20080725164815.GA23228@polina.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 25 Jul 2008, Anton Vorontsov wrote: > > The name seems a bit unfortunate though, because one could read the > function as it gets gpio flags only (though, we might implement > this instead, but this way average driver will end up with parsing > gpios = <> twice). It is kind of a confusing name. I'd be tempted to just change of_get_gpio, it's a new function and it's only called from four places so it's not that hard to change.