mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 08:38:45 +02:00 
			
		
		
		
	 c46f60246f
			
		
	
	
		c46f60246f
		
	
	
	
	
		
			
			Take advantage of the generic drvdata accessors of the generic Device type. While at it, use from_result() instead of match. Link: https://lore.kernel.org/r/20250621195118.124245-6-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			302 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			302 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0
 | |
| 
 | |
| #include <linux/auxiliary_bus.h>
 | |
| 
 | |
| void rust_helper_auxiliary_device_uninit(struct auxiliary_device *adev)
 | |
| {
 | |
| 	return auxiliary_device_uninit(adev);
 | |
| }
 | |
| 
 | |
| void rust_helper_auxiliary_device_delete(struct auxiliary_device *adev)
 | |
| {
 | |
| 	return auxiliary_device_delete(adev);
 | |
| }
 |