mediatek: remove gpiod_direction_output()

It's already set to output with GPIOD_OUT_LOW.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
(cherry picked from commit a188356484f434c72ea536d91d7f93f59c562eb5)
This commit is contained in:
Sven Wegener 2021-06-12 21:56:21 +02:00 committed by Daniel Golle
parent ba6c780acb
commit 7366ee86ef

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);