[PATCH 0/8] General RFKill improvements

From: JoÃo Paulo Rechi Vita
Date: Tue Jan 19 2016 - 10:44:16 EST


This series contains a few general improvements to the RFKill code, found while
I was writing the rfkill-all / airplane mode LED trigger. All were points where
I had to read twice or do some other kind of extra effort to fully understand
it, so I think merging these changes will benefit someone trying to understand
the RFKill subsystem in the future.

It also removes sysfs interfaces that were marked as obsolete for 4+ years.

JoÃo Paulo Rechi Vita (8):
rfkill: Documentation and style fixes
rfkill: Improve code readability
rfkill: Improve code readability
rfkill: Remove obsolete "claim" sysfs interface
rfkill: Remove obsolete "state" sysfs interface
rfkill: Move user_state_from_blocked() close to its user
rfkill: Update userspace API documentation
rfkill: Factor common code

Documentation/ABI/obsolete/sysfs-class-rfkill | 29 -----
Documentation/ABI/removed/sysfs-class-rfkill | 30 +++++
include/linux/rfkill.h | 7 +-
include/uapi/linux/rfkill.h | 1 +
net/rfkill/core.c | 154 ++++++++------------------
5 files changed, 82 insertions(+), 139 deletions(-)
delete mode 100644 Documentation/ABI/obsolete/sysfs-class-rfkill
create mode 100644 Documentation/ABI/removed/sysfs-class-rfkill

--
2.5.0