linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] leds: use default-on trigger for Cobalt Qube
@ 2009-11-26 18:41 Florian Fainelli
  2009-12-04 14:01 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2009-11-26 18:41 UTC (permalink / raw)
  To: Richard Purdie; +Cc: linux-kernel, linux-mips, Martin Michlmayr, Sameer Verma

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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] leds: use default-on trigger for Cobalt Qube
  2009-11-26 18:41 [PATCH] leds: use default-on trigger for Cobalt Qube Florian Fainelli
@ 2009-12-04 14:01 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2009-12-04 14:01 UTC (permalink / raw)
  To: Richard Purdie; +Cc: linux-kernel, linux-mips, Martin Michlmayr, Sameer Verma

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-04 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-26 18:41 [PATCH] leds: use default-on trigger for Cobalt Qube Florian Fainelli
2009-12-04 14:01 ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).