Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753931AbZFZKDU (ORCPT ); Fri, 26 Jun 2009 06:03:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751308AbZFZKDM (ORCPT ); Fri, 26 Jun 2009 06:03:12 -0400 Received: from dan.rpsys.net ([93.97.175.187]:58216 "EHLO dan.rpsys.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750793AbZFZKDL (ORCPT ); Fri, 26 Jun 2009 06:03:11 -0400 Subject: Re: [PATCH] LED: Reply-To: use correct name for /sys/devices/virtual/leds/ entries From: Richard Purdie To: Greg KH Cc: Guennadi Liakhovetski , linux-kernel@vger.kernel.org In-Reply-To: <20090626024636.GA18329@kroah.com> References: <20090624223343.GA17235@kroah.com> <1245927475.6001.38.camel@dax.rpnet.com> <20090626024636.GA18329@kroah.com> Content-Type: text/plain Date: Fri, 26 Jun 2009 11:01:27 +0100 Message-Id: <1246010487.6003.4.camel@dax.rpnet.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1548 Lines: 49 On Thu, 2009-06-25 at 19:46 -0700, Greg KH wrote: > On Thu, Jun 25, 2009 at 11:57:55AM +0100, Richard Purdie wrote: > > On Wed, 2009-06-24 at 15:33 -0700, Greg KH wrote: > > > From: Olaf Hering > > > > > > This is needed to get kde-powersave to work properly on some g4 > > > powerbooks. > > > > > > From: Olaf Hering > > > Signed-off-by: Greg Kroah-Hartman > > > > I'm ok with this apart from: > > > > > --- a/drivers/leds/ledtrig-default-on.c > > > +++ b/drivers/leds/ledtrig-default-on.c > > > @@ -23,7 +23,7 @@ static void defon_trig_activate(struct l > > > } > > > > > > static struct led_trigger defon_led_trigger = { > > > - .name = "default-on", > > > + .name = "default::on", > > > .activate = defon_trig_activate, > > > }; > > > > which doesn't seem to match the patch description. Why does the trigger > > name need to be changed? > > I really don't know, I took this patch from the suse tree, and Olaf is > gone and I can't ask him :( > > If you don't think it is needed/correct, please drop that part. Or I > can redo it without it. I'll just drop that bit. As far as I can see it would just break any users of that trigger for no good reason... Cheers, Richard -- Richard Purdie Intel Open Source Technology Centre -- 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/