devm_regmap_del_irq_chip(9)
π devm_regmap_del_irq_chip(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in kernel-land, the devm_* family is your ride-or-die, and you need to yeet an IRQ chip the managed way. That's literally this function. Come with me π«Ά
β¨ SYNOPSIS β¨
void devm_regmap_del_irq_chip (struct device *dev , int irq , struct
regmap_irq_chip_data *data );
no cap, that's the whole signature. returns void β it's giving "I handle it, you don't gotta worry" energy π
π ARGUMENTS π
devβ the Device for which the resource was allocated. like, the whole reason this is managed in the first place π§irqβ the Primary IRQ for the device. yes queen, the main one, not the little baby virqs πΈdataβ theregmap_irq_chip_dataallocated byregmap_add_irq_chip. the thing you're cleaning up, bestie π
π¦ DESCRIPTION π¦
It's a resource managed version of regmap_del_irq_chip. that's it, that's the tweet β¨
fr fr, that's the entire description β this one's short and iconic, and honestly? respect. π
π SEE ALSO π
- Kernel file
./drivers/base/regmap/regmap-irq.cβ the mothership, go read it π regmap_irq_get_irq_reg_linear(9)regmap_irq_set_type_config_simple(9)regmap_add_irq_chip_fwnode(9)regmap_add_irq_chip(9)regmap_del_irq_chip(9)β the un-managed sibling, the non-devm one, iykykdevm_regmap_add_irq_chip_fwnode(9)devm_regmap_add_irq_chip(9)regmap_irq_chip_get_base(9)regmap_irq_get_virq(9)regmap_irq_get_domain(9)
the whole regmap-irq friend group, honestly obsessed π«Άβ
π reminder: devm_ means the cleanup is handled for you β so don't go double-freeing, bestie, that's not the vibe check you want.
and that's the page!! mwah π©·
this cutie lives in ./drivers/base/regmap, dated October 2026, and answers to devm_regmap_del_irq_chip(9) β see u in the next manpage, love u, bye ππ
π¦ 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