aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/files-5.10/drivers
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2021-06-12 21:56:21 +0200
committerDaniel Golle <daniel@makrotopia.org>2022-09-18 15:39:41 +0100
commit7366ee86ef215ed63b118a773fdbb8676b48433d (patch)
tree127beead8e10e11dfcd77fe44b85b739058c19fe /target/linux/mediatek/files-5.10/drivers
parentba6c780acb4b70fae4b8bf4d748403284bd648ab (diff)
downloadupstream-7366ee86ef215ed63b118a773fdbb8676b48433d.tar.gz
upstream-7366ee86ef215ed63b118a773fdbb8676b48433d.tar.bz2
upstream-7366ee86ef215ed63b118a773fdbb8676b48433d.zip
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)
Diffstat (limited to 'target/linux/mediatek/files-5.10/drivers')
-rw-r--r--target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c b/target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c
index c5d668836b..9f12cda5d1 100644
--- a/target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c
+++ b/target/linux/mediatek/files-5.10/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);