Searched refs:gmouse (Results 1 – 1 of 1) sorted by relevance
72 struct gpio_mouse *gmouse; in gpio_mouse_probe() local76 gmouse = devm_kzalloc(dev, sizeof(*gmouse), GFP_KERNEL); in gpio_mouse_probe()77 if (!gmouse) in gpio_mouse_probe()82 &gmouse->scan_ms); in gpio_mouse_probe()83 if (error || gmouse->scan_ms == 0) { in gpio_mouse_probe()85 gmouse->scan_ms = 50; in gpio_mouse_probe()88 gmouse->up = devm_gpiod_get(dev, "up", GPIOD_IN); in gpio_mouse_probe()89 if (IS_ERR(gmouse->up)) in gpio_mouse_probe()90 return PTR_ERR(gmouse->up); in gpio_mouse_probe()91 gmouse->down = devm_gpiod_get(dev, "down", GPIOD_IN); in gpio_mouse_probe()[all …]