commit | 6078bff6f501196a65d15887cd62aadfb52c32b5 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sat Jan 21 18:02:52 2023 -0600 |
committer | Sean Anderson <seanga2@gmail.com> | Sun Feb 12 13:44:20 2023 -0500 |
tree | 7238a9ae0b06ea7d60c82497af56334efee234cb | |
parent | bae0f4fdc11a86ce1c580d78388db5fddc2c6bb4 [diff] |
reset: Allow reset_get_by_name() with NULL name This allows devm_reset_control_get(dev, NULL) to work and get the first reset control, which is common in code ported from Linux. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Simon Glass <sjg@chromium.org> Link: https://lore.kernel.org/r/20230122000252.53642-2-samuel@sholland.org