rename new rfkill sysfs knobs

This patch renames the (never officially released) sysfs-knobs
"blocked_hw" and "blocked_sw" to "hard" and "soft", as the hardware vs
software conotation is misleading.

It also gets rid of not needed locks around u32-read-access.

Signed-off-by: Florian Mickler <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
[email protected] 2010-03-13 13:31:05 +01:00 • committed by John W. Linville
commit 819bfecc4f
2 changed files with 13 additions and 32 deletions

View file

@ -4,7 +4,7 @@ For details to this subsystem look at Documentation/rfkill.txt.
For the deprecated /sys/class/rfkill/*/state and
/sys/class/rfkill/*/claim knobs of this interface look in
Documentation/ABI/obsolte/sysfs-class-rfkill.
Documentation/ABI/obsolete/sysfs-class-rfkill.
What: /sys/class/rfkill
Date: 09-Jul-2007
@ -42,8 +42,8 @@ Values: A numeric value.
1: true
What: /sys/class/rfkill/rfkill[0-9]+/blocked_hw
Date: 23-Feb-2010
What: /sys/class/rfkill/rfkill[0-9]+/hard
Date: 12-March-2010
KernelVersion v2.6.34
Contact: [email protected]
Description: Current hardblock state. This file is read only.
@ -55,8 +55,8 @@ Values: A numeric value.
the driver's control.
What: /sys/class/rfkill/rfkill[0-9]+/blocked_sw
Date: 23-Feb-2010
What: /sys/class/rfkill/rfkill[0-9]+/soft
Date: 12-March-2010
KernelVersion v2.6.34
Contact: [email protected]
Description: Current softblock state. This file is read and write.