Searched refs:charge_gpiod (Results 1 – 1 of 1) sorted by relevance
23 static struct gpio_desc *charge_gpiod; variable103 bat_status = (charge_gpiod) ? in wm97xx_bat_update()104 (gpiod_get_value(charge_gpiod) ? in wm97xx_bat_update()174 charge_gpiod = devm_gpiod_get_optional(&dev->dev, NULL, GPIOD_IN); in wm97xx_bat_probe()175 if (IS_ERR(charge_gpiod)) in wm97xx_bat_probe()177 PTR_ERR(charge_gpiod), in wm97xx_bat_probe()179 if (charge_gpiod) { in wm97xx_bat_probe()180 gpiod_set_consumer_name(charge_gpiod, "BATT CHRG"); in wm97xx_bat_probe()181 ret = request_irq(gpiod_to_irq(charge_gpiod), in wm97xx_bat_probe()208 if (charge_gpiod) in wm97xx_bat_probe()[all …]