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/export-to-postgresql.py | |
parent | 11067f50458a5bb3b72f83c508e03f321e0c0c34 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions