projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mediatek: remove gpiod_direction_output()
[openwrt/openwrt.git]
/
target
/
linux
/
mediatek
/
files
/
drivers
/
leds
/
leds-ubnt-ledbar.c
diff --git
a/target/linux/mediatek/files/drivers/leds/leds-ubnt-ledbar.c
b/target/linux/mediatek/files/drivers/leds/leds-ubnt-ledbar.c
index c5d668836b7bd1a08731027b6ad8b7683f42e792..9f12cda5d196a944d51097537c95a85f6630db37 100644
(file)
--- a/
target/linux/mediatek/files/drivers/leds/leds-ubnt-ledbar.c
+++ b/
target/linux/mediatek/files/drivers/leds/leds-ubnt-ledbar.c
@@
-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);