mediatek: remove gpiod_direction_output()
[openwrt/openwrt.git] / target / linux / mediatek / files / drivers / leds / leds-ubnt-ledbar.c
index c5d668836b7bd1a08731027b6ad8b7683f42e792..9f12cda5d196a944d51097537c95a85f6630db37 100644 (file)
@@ -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);