aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/dev-sync-probe.c
Commit message (Collapse)AuthorAgeFilesLines
* gpio: introduce utilities for synchronous fake device creationKoichiro Den2025-02-241-0/+97
Both gpio-sim and gpio-virtuser share a mechanism to instantiate a platform device, wait for probe completion, and retrieve the probe success or error status synchronously. With gpio-aggregator planned to adopt this approach for its configfs interface, it's time to factor out the common code. Add dev-sync-probe.[ch] to house helper functions used by all such implementations. No functional change. Signed-off-by: Koichiro Den <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>