Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125951
b: refs/heads/master
c: f32f8b7
h: refs/heads/master
i:
  125949: 515ffbd
  125947: a89e541
  125943: 5db63a6
  125935: d8678d9
  125919: 81f2020
  125887: 1afc1f6
  125823: 7127feb
  125695: 66381b6
  125439: 5d201d7
  124927: b705b13
v: v3
  • Loading branch information
Simon Holm Thøgersen authored and David S. Miller committed Jan 5, 2009
1 parent df32ae5 commit 68ba505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 939678f81a55c839ae58c9cc3d4ec6d0f60e7dc7
refs/heads/master: f32f8b72e02e851972a0172603104046aa5fec96
4 changes: 1 addition & 3 deletions trunk/net/rfkill/rfkill.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ static unsigned long rfkill_states_lockdflt[BITS_TO_LONGS(RFKILL_TYPE_MAX)];
static bool rfkill_epo_lock_active;


#ifdef CONFIG_RFKILL_LEDS
static void rfkill_led_trigger(struct rfkill *rfkill,
enum rfkill_state state)
{
#ifdef CONFIG_RFKILL_LEDS
struct led_trigger *led = &rfkill->led_trigger;

if (!led->name)
Expand All @@ -66,10 +66,8 @@ static void rfkill_led_trigger(struct rfkill *rfkill,
led_trigger_event(led, LED_OFF);
else
led_trigger_event(led, LED_FULL);
#endif /* CONFIG_RFKILL_LEDS */
}

#ifdef CONFIG_RFKILL_LEDS
static void rfkill_led_trigger_activate(struct led_classdev *led)
{
struct rfkill *rfkill = container_of(led->trigger,
Expand Down

0 comments on commit 68ba505

Please sign in to comment.