diff options
| author | Lad Prabhakar <[email protected]> | 2025-01-13 12:26:39 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2025-01-14 12:01:30 +0000 |
| commit | 3d9e63c3aba479ec2f669cbc410754a2b1cf38fb (patch) | |
| tree | bcf1bd4f45b8ddd00714975797eaaac8bd1e3689 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | i2c: riic: Use GENMASK() macro for bitmask definitions (diff) | |
| download | kernel-3d9e63c3aba479ec2f669cbc410754a2b1cf38fb.tar.gz kernel-3d9e63c3aba479ec2f669cbc410754a2b1cf38fb.zip | |
i2c: riic: Make use of devres helper to request deasserted reset line
Simplify the `riic_i2c_probe()` function by using the
`devm_reset_control_get_optional_exclusive_deasserted()` API to request a
deasserted reset line. This eliminates the need to manually deassert the
reset control and the additional cleanup.
Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Tested-by: Wolfram Sang <[email protected]>
Tested-by: Claudiu Beznea <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
