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 a188356484
)
This commit is contained in:
parent
ba6c780acb
commit
7366ee86ef
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue