diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-08-30 06:13:21 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-09-03 13:54:43 +0300 |
commit | b00f7f4f8e936da55f2e6c7fd96391ef54c145fc (patch) | |
tree | ef2edef51e9581fffa6b35818739213837c80b24 /samples/mei | |
parent | 1dce520abd461efcaf4a5a942d8eb833eef52d0b (diff) | |
download | linux-b00f7f4f8e936da55f2e6c7fd96391ef54c145fc.tar.xz |
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 'samples/mei')
0 files changed, 0 insertions, 0 deletions