diff options
Diffstat (limited to 'drivers/leds/leds-aat1290.c')
-rw-r--r-- | drivers/leds/leds-aat1290.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-aat1290.c b/drivers/leds/leds-aat1290.c index 5de2f19d3c0d..fd7c25fd29c1 100644 --- a/drivers/leds/leds-aat1290.c +++ b/drivers/leds/leds-aat1290.c @@ -247,14 +247,14 @@ static int aat1290_led_parse_dt(struct aat1290_led *led, #endif int ret = 0; - led->gpio_fl_en = devm_gpiod_get(dev, "flen"); + led->gpio_fl_en = devm_gpiod_get(dev, "flen", GPIOD_ASIS); if (IS_ERR(led->gpio_fl_en)) { ret = PTR_ERR(led->gpio_fl_en); dev_err(dev, "Unable to claim gpio \"flen\".\n"); return ret; } - led->gpio_en_set = devm_gpiod_get(dev, "enset"); + led->gpio_en_set = devm_gpiod_get(dev, "enset", GPIOD_ASIS); if (IS_ERR(led->gpio_en_set)) { ret = PTR_ERR(led->gpio_en_set); dev_err(dev, "Unable to claim gpio \"enset\".\n"); |