diff options
| author | Alexey Charkov <alchark@flipper.net> | 2026-09-10 18:33:00 +0400 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-10-04 18:50:10 +0200 |
| commit | 455e49c6700c8111d492923952a1fe3b98da0195 (patch) | |
| tree | d07d65480c52e777b4f5ea0991c18b99bdaae954 /rust/kernel/alloc | |
| parent | 1a64071bb30d97b75a1029943b6a3481098b254b (diff) | |
power: supply: bq257xx: Convert parameters setup to the new .init callback
Switch the battery parsing and hardware initialization from happening
inside the probe routine (after the power supply is registered) to the new
.init callback which gets run during the registration, thus avoiding the
exposure of a not-yet-fully-configured power supply to the rest of the
system.
Signed-off-by: Alexey Charkov <alchark@flipper.net>
Link: https://patch.msgid.link/20260910-bq257xx-init-v3-3-4e219a1a04a5@flipper.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
