diff options
author | Samuel Holland <samuel@sholland.org> | 2023-01-21 18:02:51 -0600 |
---|---|---|
committer | Sean Anderson <seanga2@gmail.com> | 2023-02-12 13:44:20 -0500 |
commit | 2050f824e1367cb227d8e13a91c98577987fe413 (patch) | |
tree | bb06ae6e463c3df7b8aed1b2aac2eaa4e4e0d59f /include/reset.h | |
parent | c40251c120fac5a85fb445b6b2c7db5d18792e2a (diff) | |
download | u-boot-2050f824e1367cb227d8e13a91c98577987fe413.tar.gz u-boot-2050f824e1367cb227d8e13a91c98577987fe413.tar.bz2 u-boot-2050f824e1367cb227d8e13a91c98577987fe413.zip |
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
Diffstat (limited to 'include/reset.h')
0 files changed, 0 insertions, 0 deletions