Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757130AbYGONYt (ORCPT ); Tue, 15 Jul 2008 09:24:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755509AbYGONYk (ORCPT ); Tue, 15 Jul 2008 09:24:40 -0400 Received: from rtsoft3.corbina.net ([85.21.88.6]:5513 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754707AbYGONYk (ORCPT ); Tue, 15 Jul 2008 09:24:40 -0400 Date: Tue, 15 Jul 2008 17:24:38 +0400 From: Anton Vorontsov To: Richard Purdie Cc: Stephen Rothwell , Kumar Gala , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org Subject: Re: [PATCH v2] leds: implement OpenFirmare GPIO LED driver Message-ID: <20080715132438.GA26648@polina.dev.rtsoft.ru> Reply-To: avorontsov@ru.mvista.com References: <20080715123822.GA10893@polina.dev.rtsoft.ru> <20080715124013.GA13086@polina.dev.rtsoft.ru> <1216126470.5345.55.camel@dax.rpnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Disposition: inline In-Reply-To: <1216126470.5345.55.camel@dax.rpnet.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1700 Lines: 46 On Tue, Jul 15, 2008 at 01:54:30PM +0100, Richard Purdie wrote: > On Tue, 2008-07-15 at 16:40 +0400, Anton Vorontsov wrote: > > Despite leds-gpio and leds-of-gpio similar names and purposes, there > > is not much code can be shared between the two drivers (both are mostly > > driver bindings anyway). > > I don't have any issue with the driver itself, just the name which is > going to confuse people no end. > > Can we come up with a better name for this driver please? > "dts-bind-gpio"? Hm... I don't actually understand what this name implies. > "openfirmware-led"? And this would be wrong, since this driver is for GPIO LEDs only, not for all LEDs that OF can describe. In future there could be OF PWM LEDs or something like this. > I'm mainly concerned with the more user visible bits like the name of > the .c file, the wording of the Kconfig option and the module > description. We need to play down the GPIO bit and play up the > openfirmware bindings bit. Hm... file name is leds-of-gpio.c, how could I play up the "of" bit more than this? ;-) > As an example the Kconfig says "LED Support for GPIO connected LEDs" > which its not, the bit about openfirmware bindings is in brackets and > hence looks incidental. As for Kconfig, yeah.. probably I can improve the wording. How about "OpenFirmware bindings for GPIO connected LEDs"? Would that work? Thanks, -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2 -- 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/