supply: Use new polling infrastructure

System Internals / UPower - Benjamin Berg [redhat.com] - 10 May 2022 09:06 UTC

This means we do the fast-repoll and normal polling with the same method (no timeout registrations within the supply code anymore).

3243ff2 supply: Use new polling infrastructure
src/linux/integration-test.py | 42 +-------------
src/linux/up-device-supply.c | 130 ++++++++++++++----------------------------
src/up-constants.h | 2 +-
3 files changed, 45 insertions(+), 129 deletions(-)

Upstream: cgit.freedesktop.org


  • Share