mediatek: remove gpiod_direction_output()
It's already set to output with GPIOD_OUT_LOW. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
This commit is contained in:
		 Sven Wegener
					Sven Wegener
				
			
				
					committed by
					
						 Daniel Golle
						Daniel Golle
					
				
			
			
				
	
			
			
			 Daniel Golle
						Daniel Golle
					
				
			
						parent
						
							56c2d15587
						
					
				
				
					commit
					a188356484
				
			| @@ -153,8 +153,6 @@ static int ubnt_ledbar_probe(struct i2c_client *client, | |||||||
| 		return ret; | 		return ret; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	gpiod_direction_output(ledbar->enable_gpio, 0); |  | ||||||
|  |  | ||||||
| 	ledbar->client = client; | 	ledbar->client = client; | ||||||
|  |  | ||||||
| 	mutex_init(&ledbar->lock); | 	mutex_init(&ledbar->lock); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user