summaryrefslogtreecommitdiff
path: root/include/clk.h
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2020-01-09 06:35:06 +0300
committerTom Rini <trini@konsulko.com>2020-01-16 17:39:45 +0300
commitbd7c798605a33107ccce6d5023af8adf9febc4f1 (patch)
treed6f710a54eb37167b042f5e6c2557841c5a2bd26 /include/clk.h
parent0f9b2b3ddf36d4bf69011a0dddefa10091cee60d (diff)
downloadu-boot-bd7c798605a33107ccce6d5023af8adf9febc4f1.tar.xz
clk: check valid clock by clk_valid()
Add valid check for clk->dev, it's useful when get optional clock even when the clk point is valid, but its dev will be NULL. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ryder Lee <ryder.lee@mediatek.com>
Diffstat (limited to 'include/clk.h')
0 files changed, 0 insertions, 0 deletions