commit | bae0f4fdc11a86ce1c580d78388db5fddc2c6bb4 | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sat Jan 21 18:02:51 2023 -0600 |
committer | Sean Anderson <seanga2@gmail.com> | Sun Feb 12 13:44:20 2023 -0500 |
tree | bb06ae6e463c3df7b8aed1b2aac2eaa4e4e0d59f | |
parent | aac5b9a8cdb162dfc282731597d9c7eaabe63289 [diff] |
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