Searched refs:gpio_trigger (Results 1 – 1 of 1) sorted by relevance
70 struct gpio_desc *gpio_trigger; member148 if (gpiod_get_value(data->gpio_trigger)) { in ltc2952_poweroff_handler()203 data->gpio_trigger = devm_gpiod_get_optional(&pdev->dev, "trigger", in ltc2952_poweroff_init()205 if (IS_ERR(data->gpio_trigger)) { in ltc2952_poweroff_init()212 data->gpio_trigger = NULL; in ltc2952_poweroff_init()215 if (devm_request_irq(&pdev->dev, gpiod_to_irq(data->gpio_trigger), in ltc2952_poweroff_init()235 if (data->gpio_trigger) { in ltc2952_poweroff_init()238 devm_gpiod_put(&pdev->dev, data->gpio_trigger); in ltc2952_poweroff_init()239 data->gpio_trigger = NULL; in ltc2952_poweroff_init()