mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 01:41:41 +00:00
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:
parent
ba6c780acb
commit
7366ee86ef
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user