summaryrefslogtreecommitdiffstats
path: root/net/rfkill
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-07 22:20:23 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-10-08 21:24:15 +0200
commit2f29fed3f814f652a24b10c975b9d415a154fc9c (patch)
tree7b2654f2e1f64586cf91c50c7910338f101128db /net/rfkill
parentath9k_htc: avoid kernel panic in ath9k_hw_reset (diff)
downloadlinux-2f29fed3f814f652a24b10c975b9d415a154fc9c.tar.xz
linux-2f29fed3f814f652a24b10c975b9d415a154fc9c.zip
net: rfkill: kernel-doc warning fixes
s/state/blocked Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill')
-rw-r--r--net/rfkill/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rfkill/core.c b/net/rfkill/core.c
index b3b16c070a7f..fa7cd792791c 100644
--- a/net/rfkill/core.c
+++ b/net/rfkill/core.c
@@ -329,7 +329,7 @@ static atomic_t rfkill_input_disabled = ATOMIC_INIT(0);
/**
* __rfkill_switch_all - Toggle state of all switches of given type
* @type: type of interfaces to be affected
- * @state: the new state
+ * @blocked: the new state
*
* This function sets the state of all switches of given type,
* unless a specific switch is claimed by userspace (in which case,
@@ -353,7 +353,7 @@ static void __rfkill_switch_all(const enum rfkill_type type, bool blocked)
/**
* rfkill_switch_all - Toggle state of all switches of given type
* @type: type of interfaces to be affected
- * @state: the new state
+ * @blocked: the new state
*
* Acquires rfkill_global_mutex and calls __rfkill_switch_all(@type, @state).
* Please refer to __rfkill_switch_all() for details.