Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/power/supply/
H A Dbq24735-charger.c52 struct gpio_desc *status_gpio; member
186 if (charger->status_gpio) { in bq24735_charger_is_present()
187 return !gpiod_get_value_cansleep(charger->status_gpio); in bq24735_charger_is_present()
408 charger->status_gpio = devm_gpiod_get_optional(&client->dev, in bq24735_charger_probe()
411 if (IS_ERR(charger->status_gpio)) { in bq24735_charger_probe()
412 ret = PTR_ERR(charger->status_gpio); in bq24735_charger_probe()
/kernel/linux/linux-6.6/drivers/power/supply/
H A 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()
410 charger->status_gpio = devm_gpiod_get_optional(&client->dev, in bq24735_charger_probe()
413 if (IS_ERR(charger->status_gpio)) { in bq24735_charger_probe()
414 ret = PTR_ERR(charger->status_gpio); in bq24735_charger_probe()

Completed in 2 milliseconds