Skip to content

Commit 432b119

Browse files
JuliaLawallsre
authored andcommitted
docs: power: update documentation about removed function
The function cm_notify_event() was removed in commit 9584051 ("power: supply: charger-manager: Remove cm_notify_event function"). Remove the documentation that suggests how it can be used. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Link: https://patch.msgid.link/20260104171644.292437-1-Julia.Lawall@inria.fr Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 39fe0ea commit 432b119

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

Documentation/power/charger-manager.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -183,17 +183,7 @@ struct charger_desc elements:
183183
the value of measure_battery_temp.
184184

185185

186-
5. Notify Charger-Manager of charger events: cm_notify_event()
187-
==============================================================
188-
If there is an charger event is required to notify
189-
Charger Manager, a charger device driver that triggers the event can call
190-
cm_notify_event(psy, type, msg) to notify the corresponding Charger Manager.
191-
In the function, psy is the charger driver's power_supply pointer, which is
192-
associated with Charger-Manager. The parameter "type"
193-
is the same as irq's type (enum cm_event_types). The event message "msg" is
194-
optional and is effective only if the event type is "UNDESCRIBED" or "OTHERS".
195-
196-
6. Other Considerations
186+
5. Other Considerations
197187
=======================
198188

199189
At the charger/battery-related events such as battery-pulled-out,

0 commit comments

Comments
 (0)