of_gpiochip_remove_hog(9)
π of_gpiochip_remove_hog(9) π
okay bestie, welcome to the Kernel API Manual β yes we're literally in the kernel, no big deal β¨
π NAME π
of_gpiochip_remove_hog β removes, like, all the hogs in a hog device node. every single one. gone. periodt π
πΈ SYNOPSIS πΈ
void of_gpiochip_remove_hog (struct gpio_chip *chip , struct device_node *hog );
it's giving void β meaning this function hands nothing back to you, it just does the thing and dips π¦
β¨ ARGUMENTS β¨
chipβ the gpio chip we're acting on. this is the main character, the one whose hogs are getting evicted πhogβ the device node that describes the hogs. like, the whole hog situation is documented here π
π₯ SEE ALSO π₯
- the kernel file
./drivers/gpio/gpiolib-of.cβ that's where the magic lives, iykyk of_gpio_named_count(9)of_gpio_spi_cs_get_count(9)of_get_named_gpiod_flags(9)of_gpio_twocell_xlate(9)of_gpio_threecell_xlate(9)
π«Ά friendly reminder: this page is short because the function is short β nothing got skipped, bestie, it's literally just the one job. no cap π
okay that's the whole page, and now the cute little sign-off: this one comes from ./drivers/gpio and it's dated October 2026 β so mark your calendars, bestie, the future is calling and it's asking you to remove your hogs ππ
π¦ 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