led_put(9)
π led_put(9) β straight from the Kernel API Manual, bestie π
okay so picture this: it's a kernel API manual page, the title is led_put, and it lives in section 9 of the manual, iykyk. that's the whole header. now let's get into it π«Ά
β¨ NAME β¨
led_put β release a LED device πΈ
like, you're done with your little light friend, so you let it go. bye bestie, slay, etc. π
π SYNOPSIS π
void led_put (struct led_classdev *led_cdev );
that's it. that's the whole vibe check. returns void, so nothing comes back to you β it's giving "no notes, no return value, just closure" β¨
π¦ ARGUMENTS π¦
led_cdevβ LED device π the actual LED device you're releasing, no cap, that's the one, that's the whole parameter
π SEE ALSO π
okay so this is the part where the page just. keeps. going. and honestly? iconic. all of these live in the kernel file ./drivers/leds/led-class.c, and here's the full squad in the exact order they showed up π§:
led_classdev_suspend(9)led_classdev_resume(9)fwnode_led_get(9)devm_of_led_get(9)led_get(9)devm_led_get(9)led_add_lookup(9)led_remove_lookup(9)devm_of_led_get_optional(9)led_classdev_register_ext(9)led_classdev_unregister(9)devm_led_classdev_register_ext(9)devm_led_classdev_unregister(9)
go read all of them, fr fr, they're all right there in ./drivers/leds/led-class.c π
ngl the whole page is literally one function, one argument, and a very long see-also list, and the see-also list is lowkey the main character here π
and that's the page!! mwah π this was led_put(9) from ./drivers/leds, dropped in October 2026, and that's the cute little sign-off bestie β version, source, date, all of it, periodt ππ
π¦ 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