diff options
author | 2024-08-30 11:13:21 +0800 | |
---|---|---|
committer | 2024-09-03 12:54:43 +0200 | |
commit | b00f7f4f8e936da55f2e6c7fd96391ef54c145fc (patch) | |
tree | ef2edef51e9581fffa6b35818739213837c80b24 /drivers/net/netkit.c | |
parent | net: phy: Use for_each_available_child_of_node_scoped() (diff) | |
download | wireguard-linux-b00f7f4f8e936da55f2e6c7fd96391ef54c145fc.tar.xz wireguard-linux-b00f7f4f8e936da55f2e6c7fd96391ef54c145fc.zip |
net: mdio: mux-mmioreg: Simplified with scoped function
Avoids the need for manual cleanup of_node_put() in early exits
from the loop by using for_each_available_child_of_node_scoped().
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions