Samuel Holland 5a675abfe7 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
2023-02-12 13:44:20 -05:00
..
2023-01-05 19:21:56 -07:00
2022-12-05 12:47:17 -05:00
2022-10-05 08:43:53 +02:00
2023-01-05 19:21:56 -07:00
2023-01-05 19:21:56 -07:00
2022-10-20 15:22:30 +08:00
2022-04-28 09:26:44 -04:00
2022-10-26 15:21:11 -04:00
2023-01-05 19:21:56 -07:00
2023-01-05 19:21:56 -07:00
2022-09-25 13:59:56 -06:00
2023-01-05 19:21:56 -07:00
2022-09-03 16:59:05 +03:00