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 c5d668836b..9f12cda5d1 100644 --- 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);