diff options
author | 2024-06-09 09:27:16 +0200 | |
---|---|---|
committer | 2024-06-13 21:26:14 +0200 | |
commit | a231eed10ed5a290129fda36ad7bcc263c53ff7d (patch) | |
tree | 4dd2ebd9a0db8b2b4707fa894f1931f38ba99e21 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI: battery: use sysfs_emit over sprintf (diff) | |
download | linux-rng-a231eed10ed5a290129fda36ad7bcc263c53ff7d.tar.xz linux-rng-a231eed10ed5a290129fda36ad7bcc263c53ff7d.zip |
ACPI: battery: create alarm sysfs attribute atomically
Let the power supply core register the attribute.
This ensures that the attribute is created before the device is
announced to userspace, avoid a race condition.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions