Searched refs:jacket_detect (Results 1 – 1 of 1) sorted by relevance
46 static struct gpio_desc *jacket_detect; variable139 return gpiod_get_value(jacket_detect) == 0; in tosa_jacket_bat_is_present()387 jacket_detect = devm_gpiod_get(dev, "jacket detect", GPIOD_IN); in tosa_bat_probe()388 if (IS_ERR(jacket_detect)) in tosa_bat_probe()389 return dev_err_probe(dev, PTR_ERR(jacket_detect), in tosa_bat_probe()453 ret = request_irq(gpiod_to_irq(jacket_detect), in tosa_bat_probe()481 free_irq(gpiod_to_irq(jacket_detect), &tosa_bat_jacket); in tosa_bat_remove()