mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	net: rfkill: kernel-doc warning fixes
Correct the kernel-doc, the parameter is called "blocked" not "state". Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
		
							parent
							
								
									c12bc4885f
								
							
						
					
					
						commit
						bc37b16870
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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. | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Fabian Frederick
						Fabian Frederick