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 2021-06-12 21:56:21 +02:00 committed by Daniel Golle
parent 56c2d15587
commit a188356484

View File

@ -153,8 +153,6 @@ static int ubnt_ledbar_probe(struct i2c_client *client,
return ret;
}
gpiod_direction_output(ledbar->enable_gpio, 0);
ledbar->client = client;
mutex_init(&ledbar->lock);