Home
last modified time | relevance | path

Searched refs:board_rev_gpio (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/platform/x86/
Dasus-tf103c-dock.c720 struct gpio_desc *board_rev_gpio; in tf103c_dock_probe() local
747 board_rev_gpio = gpiod_get(dev, "board_rev", GPIOD_ASIS); in tf103c_dock_probe()
748 if (IS_ERR(board_rev_gpio)) in tf103c_dock_probe()
749 return dev_err_probe(dev, PTR_ERR(board_rev_gpio), "requesting board_rev GPIO\n"); in tf103c_dock_probe()
750 dock->board_rev = gpiod_get_value_cansleep(board_rev_gpio) + 1; in tf103c_dock_probe()
751 gpiod_put(board_rev_gpio); in tf103c_dock_probe()