Samuel Holland 2050f824e1 clk: Allow clk_get_by_name() with NULL name
This allows devm_clock_get(dev, NULL) to work and get the first clock,
which is common in code ported from Linux.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20230122000252.53642-1-samuel@sholland.org
2023-02-12 13:44:20 -05:00
..
2021-01-30 14:25:41 -07:00
2022-01-18 12:48:17 -05:00
2023-02-09 16:32:25 -05:00
2022-03-30 13:02:55 -04:00
2022-02-25 01:41:04 -05:00
2023-02-10 07:41:40 -05:00
2023-02-10 07:41:40 -05:00