linux-mips
[Top] [All Lists]

Re: [PATCH] leds: use default-on trigger for Cobalt Qube

To: Richard Purdie <rpurdie@rpsys.net>
Subject: Re: [PATCH] leds: use default-on trigger for Cobalt Qube
From: Florian Fainelli <florian@openwrt.org>
Date: Fri, 4 Dec 2009 15:01:37 +0100
Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Martin Michlmayr <tbm@cyrius.com>, Sameer Verma <sverma@sfsu.edu>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :user-agent:cc:references:in-reply-to:organization:mime-version :content-type:content-transfer-encoding:message-id; bh=3x5XUb50hKPduza7puEywm1+jxuUzILSxAkD47KWqe4=; b=p3nqNpIj2xGx4HAOaMwnPh1TfOSBU+jktaLWKqg5qPP4hlfqDX2t8GhvOBuhI876T6 DHA9HVXaPzTZuu2MYCOWFgMZzw6CO1ywmmegVJH1qcfx88frPF48V16/gtdmPi/V+eNz hJHGnyJ/vswKyrWuZBcMB8FQKh6a3xKPkKU/A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :organization:mime-version:content-type:content-transfer-encoding :message-id; b=GQ3ck+raEDnokwvfXSQZ4VYwzXNSn/02G+9n4T3SP4HukFvW6lKqr24Ogbrh9/uXhT g91CAl8gnXWMrNksCRouYtt4l270rivvdh/0iMkIPV1r7MXFkolCbmjFvdSbbdO+cWtU NUp/PqnMITPBD2Fpo+QC20bNtRdqMO6gzHpfw=
In-reply-to: <200911261941.02431.florian@openwrt.org>
Organization: OpenWrt
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200911261941.02431.florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.12.2 (Linux/2.6.31-15-server; KDE/4.3.2; x86_64; ; )
Richard,

Did you get this patch? Thanks.

On Thursday 26 November 2009 19:41:02 Regards, Florian Fainelli wrote:
> This patch changes the default trigger from "ide-disk"
> to "default-on". Users updating from kernels not having this
> LED driver will prefer having the same LED behavior as they
> used to.
> 
> Signed-off-by: Florian Fainelli <florian@openwrt.org>
> ---
> diff --git a/drivers/leds/leds-cobalt-qube.c
>  b/drivers/leds/leds-cobalt-qube.c index 8816806..81b2014 100644
> --- a/drivers/leds/leds-cobalt-qube.c
> +++ b/drivers/leds/leds-cobalt-qube.c
> @@ -31,7 +31,7 @@ static struct led_classdev qube_front_led = {
>       .name                   = "qube::front",
>       .brightness             = LED_FULL,
>       .brightness_set         = qube_front_led_set,
> -     .default_trigger        = "ide-disk",
> +     .default_trigger        = "default-on",
>  };
> 
>  static int __devinit cobalt_qube_led_probe(struct platform_device *pdev)
> 

-- 
Regards, Florian

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] leds: use default-on trigger for Cobalt Qube, Florian Fainelli <=