diff mbox series

[v2,1/5] Documentation: devres: add a missing section for networking helpers

Message ID 20200523132711.30617-2-brgl@bgdev.pl (mailing list archive)
State Mainlined
Commit 7eef3d095abe11fd7f99fa86c0be7c14b8852fae
Headers show
Series net: provide a devres variant of register_netdev() | expand

Commit Message

Bartosz Golaszewski May 23, 2020, 1:27 p.m. UTC
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

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>
---
 Documentation/driver-api/driver-model/devres.rst | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index 46c13780994c..50df28d20fa7 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -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()