Home
last modified time | relevance | path

Searched refs:rechargeable_gpio (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dlego_ev3_battery.c30 struct gpio_desc *rechargeable_gpio; member
179 batt->rechargeable_gpio = devm_gpiod_get(dev, "rechargeable", GPIOD_IN); in lego_ev3_battery_probe()
180 err = PTR_ERR_OR_ZERO(batt->rechargeable_gpio); in lego_ev3_battery_probe()
189 if (gpiod_get_value(batt->rechargeable_gpio)) { in lego_ev3_battery_probe()