Skip to contentSkip to conversation

tosa-bt: drop setting LED trigger name, as it's unsupported now

PATCH Applied Dmitry Eremin-Solenikov 2 participants 2 messages Feb 14, 2011 – Feb 18, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tosa-bt: drop setting LED trigger name, as it's unsupported now

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

Cc Stephen Hemminger <[email protected]>
Cc John W. Linville <[email protected]>
---
 arch/arm/mach-pxa/tosa-bt.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/mach-pxa/tosa-bt.c +0 -2
index c31e601..b9b1e5c 100644
@@ -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;
Signature · 1 line
1.7.2.3
Applied
#1 lore raw
Quoted 6 lines · Dmitry Eremin-Solenikov

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

Cc Stephen Hemminger <[email protected]>
Cc John W. Linville <[email protected]>

Applied to 'fix'.

I hope there is no existing user of this trigger name, but you know better than I do.

Quoted 21 lines

---
?arch/arm/mach-pxa/tosa-bt.c | ? ?2 --
?1 files changed, 0 insertions(+), 2 deletions(-)

arch/arm/mach-pxa/tosa-bt.c +0 -3
index c31e601..b9b1e5c 100644
@@ -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