Skip to content

Commit

Permalink
sony-laptop: no need to unblock rfkill on load
Browse files Browse the repository at this point in the history
The re-written rfkill core ensures rfkill devices are initialized to
the system default state.  The core calls set_block after registration
so the driver shouldn't need to.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Alan Jenkins authored and John W. Linville committed Jun 10, 2009
1 parent b3fa132 commit 869fb3a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,6 @@ static int sony_nc_setup_rfkill(struct acpi_device *device,
return err;
}
sony_rfkill_devices[nc_type] = rfk;
sony_nc_rfkill_set((void *)nc_type, false);
return err;
}

Expand Down

0 comments on commit 869fb3a

Please sign in to comment.