diff options
author | Vladimir Oltean <[email protected]> | 2024-01-04 16:00:34 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-01-05 11:56:35 +0000 |
commit | 5c5d6b34b683c044a5d61dc0ace94e5c20f32bcf (patch) | |
tree | 1cf45f6a5528fbead709aed3e3587d6f11cc01a5 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
parent | 525366b81f3382ad1c76ba5e47b71e8b7925c85e (diff) |
net: dsa: qca8k: consolidate calls to a single devm_of_mdiobus_register()
__of_mdiobus_register() already calls __mdiobus_register() if the
OF node provided as argument is NULL. We can take advantage of that
and simplify the 2 code path, calling devm_of_mdiobus_register() only
once for both cases.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Alvin Šipraga <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Christian Marangi <[email protected]>
Reviewed-by: Luiz Angelo Daros de Luca <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions