charger_extcon_work(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… charger_extcon_work(9) β€” like, the Kernel API Manual, bestie

Okay so welcome to the glow-up of charger_extcon_work(9) ✨ this one lives in the Kernel API Manual and honestly? She's short, she's sweet, she's giving "one job and she does it" energy. Let's get into it πŸŽ€


🌸 NAME 🌸

charger_extcon_work β€” turns the charger on / off depending on what state the charger cable is in πŸ¦‹

ngl the original spells it "enable/diable" and I am not about to edit the sacred text 😭 so there it is, typo and all, periodt.

⭐ SYNOPSIS ⭐

void charger_extcon_work (struct work_struct *work );

That's it. That's the whole signature. No return value, she returns void, she's unbothered πŸ’…


🫢 ARGUMENTS 🫢

  • work β€” the work_struct of the function charger_extcon_work. That's the vibe: one argument, one work_struct, no notes πŸ‘‘

🌈 SEE ALSO 🌈

First up, the kernel file herself:

./drivers/power/supply/charger-manager.c πŸ“

and then the whole friend group, in this exact order, no cap:

Like, the entire charger-manager squad came to the function's birthday party πŸŽ‚βœ¨ iykyk


Okay that's the whole page, go touch grass or read charger-manager.c, your call 🌱

Sign-off time 🫢 this cutie is filed under ./drivers/power/supply, dated October 2026, and answers to the name charger_extcon_work(9). slay πŸ’–

πŸ“¦ where this page comes from