rfkill: remove user_claim stuff
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 27 Mar 2009 13:14:31 +0000 (14:14 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:27 +0000 (16:54 -0400)
commit621cac85297de5ba655e3430b007dd2e0da91da6
tree6193ecf0966094bb744fb4238191bcab03a3cdef
parentc1c6b14b22af0f85d05a70405dc3fba5de840c7b
rfkill: remove user_claim stuff

Almost all drivers do not support user_claim, so remove it
completely and always report -EOPNOTSUPP to userspace. Since
userspace cannot really drive rfkill _anyway_ (due to the
odd restrictions imposed by the documentation) having this
code is just pointless.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
12 files changed:
Documentation/rfkill.txt
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/b43/rfkill.c
drivers/net/wireless/b43legacy/rfkill.c
drivers/net/wireless/iwlwifi/iwl-rfkill.c
drivers/platform/x86/acer-wmi.c
drivers/platform/x86/hp-wmi.c
drivers/platform/x86/sony-laptop.c
drivers/platform/x86/toshiba_acpi.c
include/linux/rfkill.h
net/rfkill/rfkill.c
net/wimax/op-rfkill.c