diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-01-13 14:05:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-14 11:03:10 -0800 |
commit | 621400366bdba122b37bfa5f5a64ebfd07919a4a (patch) | |
tree | 3e8cedb8d981ad024c5002aa59c1ea170b1943a3 /tools/perf/scripts/python/syscall-counts.py | |
parent | e27f178793de16ca1b421f2c3f4bc3497b2ce723 (diff) |
mdio_bus: Simplify reset handling and extend to non-DT systems
Convert mdiobus_register_reset() from open-coded DT-only optional reset
handling to reset_control_get_optional_exclusive(). This not only
simplifies the code, but also adds support for lookup-based resets on
non-DT systems.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions