Skip to content
Commit 920ea5a7 authored by Tero Kristo's avatar Tero Kristo Committed by Lokesh Vutla
Browse files

clk: do not attempt to fetch clock pointer with null device



Bail out early if device returned for the parent clock is null.
This avoids warning prints like this when doing clk dump:

  dev_get_uclass_priv: null device

Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
Signed-off-by: default avatarTero Kristo <kristo@kernel.org>
parent 1a725e22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment