pwm_remove_table(9)
π pwm_remove_table(9) β Kernel API Manual π
okay bestie, welcome to pwm_remove_table(9), straight out of the Kernel API Manual β¨ this one's short and sweet but it's literally the cleanup icon, so let's get into it π§Ήπ
πΈ NAME πΈ
pwm_remove_table β unregister PWM device consumers π«Ά
like, the un-invite. the "you're off the list, babes" of PWM consumers π
β¨ SYNOPSIS β¨
void pwm_remove_table (struct pwm_lookup *table , size_t num );
no cap, that's the whole signature β returns void, so nothing comes back to you, it just does the thing and dips πβ
π¦ ARGUMENTS π¦
tableβ array of consumers to unregister π so like, the actual group of consumers you're kicking out of the registry. iykyk.numβ number of consumers intableπ’ the headcount, bestie, so it knows how many entries to walk through. don't lie to it about the number, fr fr π
π SEE ALSO π
okay so this one's part of a whole squad of PWM functions, and they all live over in the kernel file ./drivers/pwm/core.c β go say hi to the family ππ
pwm_round_waveform_might_sleep(9)pwm_get_waveform_might_sleep(9)pwm_set_waveform_might_sleep(9)pwm_apply_might_sleep(9)pwm_apply_atomic(9)pwm_get_state_hw(9)pwm_adjust_config(9)pwm_capture(9)pwm_request_from_chip(9)of_pwm_get(9)acpi_pwm_get(9)pwm_get(9)pwm_put(9)devm_pwm_get(9)devm_fwnode_pwm_get(9)__pwmchip_add(9)pwmchip_remove(9)pwm_add_table(9)
and yeah β pwm_add_table(9) is right there at the end, the literal counterpart, the "add" to this "remove" π«Ά it's giving balanced energy, we love a matched set β¨
π tiny reminder bestie:pwm_remove_tablereturnsvoidβ there is no return value to check, no error to catch, nothing to validate afterward. it just unregisters and that's the whole vibe π
aesthetic little sign-off for you π this page came from the source path ./drivers/pwm and it's dated October 2026 β so like, future-flavoured documentation, main character energy only βπ slay, go forth and unregister responsibly, bestie π§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms