* [PATCH] tosa-bt: drop setting LED trigger name, as it's unsupported now
@ 2011-02-14 10:36 Dmitry Eremin-Solenikov
2011-02-18 6:20 ` Eric Miao
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Eremin-Solenikov @ 2011-02-14 10:36 UTC (permalink / raw)
To: linux-arm-kernel
Since 2e48928d8a0f38c1b5c81eb3f1294de8a6382c68 it's no longer possible to set
the name of the LED trigger for RFKILL events. Drop respective code from tosa-bt.c
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: John W. Linville <linville@tuxdriver.com>
---
arch/arm/mach-pxa/tosa-bt.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-pxa/tosa-bt.c b/arch/arm/mach-pxa/tosa-bt.c
index c31e601..b9b1e5c 100644
--- a/arch/arm/mach-pxa/tosa-bt.c
+++ b/arch/arm/mach-pxa/tosa-bt.c
@@ -81,8 +81,6 @@ static int tosa_bt_probe(struct platform_device *dev)
goto err_rfk_alloc;
}
- rfkill_set_led_trigger_name(rfk, "tosa-bt");
-
rc = rfkill_register(rfk);
if (rc)
goto err_rfkill;
--
1.7.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] tosa-bt: drop setting LED trigger name, as it's unsupported now
2011-02-14 10:36 [PATCH] tosa-bt: drop setting LED trigger name, as it's unsupported now Dmitry Eremin-Solenikov
@ 2011-02-18 6:20 ` Eric Miao
0 siblings, 0 replies; 2+ messages in thread
From: Eric Miao @ 2011-02-18 6:20 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 14, 2011 at 6:36 PM, Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com> wrote:
> Since 2e48928d8a0f38c1b5c81eb3f1294de8a6382c68 it's no longer possible to set
> the name of the LED trigger for RFKILL events. Drop respective code from tosa-bt.c
>
> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> Cc: Stephen Hemminger <shemminger@vyatta.com>
> Cc: John W. Linville <linville@tuxdriver.com>
Applied to 'fix'.
I hope there is no existing user of this trigger name, but you know
better than I do.
> ---
> ?arch/arm/mach-pxa/tosa-bt.c | ? ?2 --
> ?1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/tosa-bt.c b/arch/arm/mach-pxa/tosa-bt.c
> index c31e601..b9b1e5c 100644
> --- a/arch/arm/mach-pxa/tosa-bt.c
> +++ b/arch/arm/mach-pxa/tosa-bt.c
> @@ -81,8 +81,6 @@ static int tosa_bt_probe(struct platform_device *dev)
> ? ? ? ? ? ? ? ?goto err_rfk_alloc;
> ? ? ? ?}
>
> - ? ? ? rfkill_set_led_trigger_name(rfk, "tosa-bt");
> -
> ? ? ? ?rc = rfkill_register(rfk);
> ? ? ? ?if (rc)
> ? ? ? ? ? ? ? ?goto err_rfkill;
> --
> 1.7.2.3
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-18 6:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14 10:36 [PATCH] tosa-bt: drop setting LED trigger name, as it's unsupported now Dmitry Eremin-Solenikov
2011-02-18 6:20 ` Eric Miao
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).