Searched refs:ac_detect_gpio (Results 1 – 1 of 1) sorted by relevance
186 struct gpio_desc *ac_detect_gpio; member307 if (bq2515x->ac_detect_gpio) in bq2515x_update_ps_status()308 val = gpiod_get_value_cansleep(bq2515x->ac_detect_gpio); in bq2515x_update_ps_status()1009 bq2515x->ac_detect_gpio = devm_gpiod_get_optional(bq2515x->dev, in bq2515x_read_properties()1011 if (IS_ERR(bq2515x->ac_detect_gpio)) { in bq2515x_read_properties()1012 ret = PTR_ERR(bq2515x->ac_detect_gpio); in bq2515x_read_properties()