]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Documentation: devres: add a missing section for networking helpers
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sat, 23 May 2020 13:27:07 +0000 (15:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 May 2020 23:56:17 +0000 (16:56 -0700)
Add a new section for networking devres helpers to devres.rst and list
the two existing devm functions.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/driver-api/driver-model/devres.rst

index 46c13780994c4ee90aa526ab6d90e75774f0522e..50df28d20fa724a749ede73e0e8df9c31bbb3107 100644 (file)
@@ -372,6 +372,10 @@ MUX
   devm_mux_chip_register()
   devm_mux_control_get()
 
+NET
+  devm_alloc_etherdev()
+  devm_alloc_etherdev_mqs()
+
 PER-CPU MEM
   devm_alloc_percpu()
   devm_free_percpu()