Documentation: devres: update IRQ helper
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 27 Sep 2022 08:38:19 +0000 (16:38 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 29 Sep 2022 19:18:05 +0000 (13:18 -0600)
devm_irq_sim_init() has been changed to devm_irq_domain_create_sim()
in commit 337cbeb2c13e ("genirq/irq_sim: Simplify the API").

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220927083819.12484-1-yangyingliang@huawei.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/driver-api/driver-model/devres.rst

index 6f190967ba2e85f621bbc78a458824c50878e069..79c80ecf6a424a2ca1050f4f76ea71119cbc225a 100644 (file)
@@ -334,7 +334,7 @@ IRQ
   devm_irq_alloc_descs_from()
   devm_irq_alloc_generic_chip()
   devm_irq_setup_generic_chip()
-  devm_irq_sim_init()
+  devm_irq_domain_create_sim()
 
 LED
   devm_led_classdev_register()