Home
last modified time | relevance | path

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

/drivers/power/supply/
Dbq24735-charger.c55 struct gpio_desc *status_gpio; member
189 if (charger->status_gpio) { in bq24735_charger_is_present()
190 return !gpiod_get_value_cansleep(charger->status_gpio); in bq24735_charger_is_present()
411 charger->status_gpio = devm_gpiod_get_optional(&client->dev, in bq24735_charger_probe()
414 if (IS_ERR(charger->status_gpio)) { in bq24735_charger_probe()
415 ret = PTR_ERR(charger->status_gpio); in bq24735_charger_probe()