diff options
| author | Biju Das <[email protected]> | 2025-02-05 12:42:22 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2025-02-07 13:43:55 +0000 |
| commit | 46df19a8dfdf48c9ef6fe1fc66e912eabb0213ed (patch) | |
| tree | a0c0ccf8fb0a95cf93540fb47bf5250334a18902 /drivers/fpga/xilinx-core.c | |
| parent | of: base: Add of_get_available_child_by_name() (diff) | |
| download | kernel-46df19a8dfdf48c9ef6fe1fc66e912eabb0213ed.tar.gz kernel-46df19a8dfdf48c9ef6fe1fc66e912eabb0213ed.zip | |
net: dsa: rzn1_a5psw: Use of_get_available_child_by_name()
Simplify a5psw_probe() by using of_get_available_child_by_name().
While at it, move of_node_put(mdio) inside the if block to avoid code
duplication.
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-core.c')
0 files changed, 0 insertions, 0 deletions
