diff options
| author | Koichiro Den <koichiro.den@canonical.com> | 2025-02-21 22:34:59 +0900 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-24 14:57:39 +0100 |
| commit | eb5ab6ffb4ca2d28121455dd7452061367ed5588 (patch) | |
| tree | f53f71cb6bbbbb4abed1afb49c79a99fc64d97e1 /tools/perf/scripts/python/bin | |
| parent | gpiolib: read descriptor flags once in gpiolib_dbg_show() (diff) | |
| download | linux-eb5ab6ffb4ca2d28121455dd7452061367ed5588.tar.gz linux-eb5ab6ffb4ca2d28121455dd7452061367ed5588.zip | |
gpio: introduce utilities for synchronous fake device creation
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 <koichiro.den@canonical.com>
Link: https://lore.kernel.org/r/20250221133501.2203897-2-koichiro.den@canonical.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
