diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-05-23 16:27:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-24 02:56:17 +0300 |
commit | cd16627fc0468564fdd60f20ad52420b87195127 (patch) | |
tree | 9398f206da34f779c6ccba968f81ab2553aaaf5a /Documentation | |
parent | f75063abc39441585a13fcc5b9ef3af993e9ac40 (diff) | |
download | linux-cd16627fc0468564fdd60f20ad52420b87195127.tar.xz |
net: devres: provide devm_register_netdev()
Provide devm_register_netdev() - a device resource managed variant
of register_netdev(). This new helper will only work for net_device
structs that are also already managed by devres.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-api/driver-model/devres.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst index 50df28d20fa7..fc242ed4bde5 100644 --- a/Documentation/driver-api/driver-model/devres.rst +++ b/Documentation/driver-api/driver-model/devres.rst @@ -375,6 +375,7 @@ MUX NET devm_alloc_etherdev() devm_alloc_etherdev_mqs() + devm_register_netdev() PER-CPU MEM devm_alloc_percpu() |