diff options
| author | 2026-07-26 21:13:01 -0400 | |
|---|---|---|
| committer | 2026-07-27 20:32:38 +0200 | |
| commit | e8e7cdd9ce46a763e5428e2673e90c6a5f91f6d8 (patch) | |
| tree | 5290992b0ef41fd9cb642654362d607072542e49 /scripts/Makefile.thinlto | |
| parent | power: supply: max17042_battery: Separate MAX17055 initialization (diff) | |
power: supply: max17042_battery: Use bool for init_complete
init_complete is a binary state. Change it from int to bool before adding
retry support.
The initialization worker and probe path update the flag while property
reads sample it. Use READ_ONCE() and WRITE_ONCE() to make those lockless
accesses explicit.
Assisted-by: OpenCode:gpt-5.6-sol
Signed-off-by: Vincent Cloutier <vincent@cloutier.co>
Link: https://patch.msgid.link/20260727011319.621794-4-vincent.cloutier@icloud.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
