Searched refs:status_gpio (Results 1 – 1 of 1) sorted by relevance
52 struct gpio_desc *status_gpio; member186 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()