diff options
| author | Geert Uytterhoeven <[email protected]> | 2020-01-13 14:05:29 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-01-14 11:03:10 -0800 |
| commit | 621400366bdba122b37bfa5f5a64ebfd07919a4a (patch) | |
| tree | 3e8cedb8d981ad024c5002aa59c1ea170b1943a3 /tools/perf/scripts/python | |
| 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 <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions